C3D Toolkit  Kernel - 117982, Vision - 2.9.2.2

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< MbTextItemGetTextItem (size_t index) const
 Get text item at the specified postion.
 
SPtr< MbTextItemClone (MbRegDuplicate *=nullptr) const final
 Create a copy of an object.
 
bool IsSame (const MbTextItem &to, double accuracy) const final
 Are the objects equal.
 
- 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).
 
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< MbCompositeTextCreate (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.
 

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: