C3D Toolkit  Kernel - 118060, Vision - 2.15.0.1825

Reference-counted object. More...

#include <mb_pmi.h>

+ Inheritance diagram for MbTextItem:
+ Collaboration diagram for MbTextItem:

Public Member Functions

virtual SPtr< MbTextItemClone (MbRegDuplicate *=nullptr) const =0
 Create a copy of an object.
 
virtual bool IsSame (const MbTextItem &to, double accuracy) const =0
 Are the objects equal.
 
DEPRECATE_DECLARE bool IsTagPresent (const c3d::string_t &tag) const
 Wether a tag present.
 
DEPRECATE_DECLARE bool IsHasTags () const
 Wether tags present. More...
 
DEPRECATE_DECLARE bool TagUniqueOrUndefined () const
 Get the tag provided it id qnique.
 
DEPRECATE_DECLARE bool GetTagIfUnique (c3d::string_t &tag) const
 Erase a tag.
 
DEPRECATE_DECLARE void AddTag (const c3d::string_t &tag)
 Add a non-empty tag.
 
virtual void Accept (Visitor &)=0
 Accept a visitior.
 
virtual void Accept (Visitor &) const =0
 Accept a visitior.
 
- Public Member Functions inherited from TapeBase
 TapeBase (RegistrableRec regs=noRegistrable)
 Constructor.
 
 TapeBase (const TapeBase &)
 Copy-constructor.
 
virtual ~TapeBase ()
 Destructor.
 
RegistrableRec GetRegistrable () const
 Whether the stream class is registrable.
 
void SetRegistrable (RegistrableRec regs=registrable) const
 Set the state of registration of the stream class.
 
virtual const char * GetPureName (const VersionContainer &) const
 Get the class name.
 
virtual bool IsFamilyRegistrable () const
 Whether the object belongs to a registrable family.
 
- Public Member Functions inherited from MbRefItem
virtual MbeRefType RefType () const
 Registration type (for copying, duplication).
 
void AddRegistrator (MbRegDuplicate *reg) const
 Add the register.
 
void RemoveRegistrator (MbRegDuplicate *reg) const
 Remove the register.
 
refcount_t GetUseCount () const
 Get count of references (get count of owners of an object).
 
refcount_t AddRef () const
 Increase count of references by one.
 
refcount_t DecRef () const
 Decrease count of references by one.
 
refcount_t Release () const
 Decrease count of references by one and if count of references became zero, then remove itself.
 

Protected Member Functions

 MbTextItem ()
 Default constructor.
 
- Protected Member Functions inherited from MbRefItem
 MbRefItem ()
 Constructor without parameters.
 

Protected Attributes

std::vector< c3d::string_tm_userTags
 User tags not for serialization.
 

Detailed Description

Reference-counted object.

Base class for text items - composite or readable.

Note
Text is located in the plane of annotation and can be either formatter or unformatted text or symbol or a group of text elements.

Member Function Documentation

◆ IsHasTags()

DEPRECATE_DECLARE bool MbTextItem::IsHasTags ( ) const

Wether tags present.

If less than two tags assinged.


The documentation for this class was generated from the following file: