C3D Toolkit  Kernel - 118069, Vision - 2.16.7.1844

Composite text. More...

#include <mb_pmi.h>

+ Inheritance diagram for MbCompositeText:
+ Collaboration diagram for MbCompositeText:

Public Member Functions

size_t GetTextItemsCount () const
 Get count of text items.
 
SPtr< MbTextItem > GetTextItem (size_t index) const
 Get text item at the specified postion.
 
void GetTextItems (std::vector< SPtr< MbTextItem >> &txt) const
 Get text items.
 
void ResetItems (const std::vector< SPtr< MbTextItem >> &textItems)
 Reset text elements.
 
SPtr< MbTextItem > Clone (MbRegDuplicate *=nullptr) const final
 Create a copy of an object.
 
bool IsSame (const MbTextItem &to, double accuracy) const final
 Are the objects equal.
 
void Accept (Visitor &visitor) const override
 Accept a visitior.
 
- Public Member Functions inherited from MbTextItem
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.
 
- 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.
 

Static Public Member Functions

static SPtr< MbCompositeText > Create (const std::vector< SPtr< MbTextItem >> &textItems)
 Create composite text element. More...
 

Additional Inherited Members

- Protected Member Functions inherited from MbTextItem
 MbTextItem ()
 Default constructor.
 
- Protected Member Functions inherited from MbRefItem
 MbRefItem ()
 Constructor without parameters.
 
- Protected Attributes inherited from MbTextItem
std::vector< c3d::string_t > m_userTags
 User tags not for serialization.
 

Detailed Description

Composite text.

Group of two or more text items.

Member Function Documentation

◆ Create()

static SPtr<MbCompositeText> MbCompositeText::Create ( const std::vector< SPtr< MbTextItem >> &  textItems)
static

Create composite text element.

New element is created if two or more text items found in the source array.


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