CBufferedCharacterItemSet
The CBufferedCharacterItemSet
class represents a collection of buffered character items and associated character clusters. Each item in the collection is a CBufferedCharacterItem
object.
Definition
Namespace: dynamsoft::dlr
Assembly: DynamsoftLabelRecognizer
class CBufferedCharacterItemSet
Methods Summary
Method | Description |
---|---|
GetItemsCount |
Gets the number of items in the buffered item set. |
GetItem |
Gets a pointer to the CBufferedCharacterItem object at the specified index. |
operator[] |
Gets a pointer to the CBufferedCharacterItem object at the specified index. |
GetCharacterClustersCount |
Gets the number of character clusters in the buffered item set. |
GetCharacterCluster |
Gets the character cluster at the specified index. |
Retain |
Increases the reference count of the CBufferedCharacterItemSet object. |
Release |
Decreases the reference count of the CBufferedCharacterItemSet object. |
GetItemsCount
Gets the number of items in the buffered item set.
virtual int GetItemsCount() const = 0;
Return value
Returns the number of items in the buffered item set.
GetItem
Gets a pointer to the CBufferedCharacterItem object at the specified index.
virtual const CBufferedCharacterItem* GetItem(int index) const = 0;
Parameters
[in] index
The index of the item to retrieve.
Return value
Returns a pointer to the CBufferedCharacterItem object at the specified index.
operator[]
Gets a pointer to the CBufferedCharacterItem object at the specified index.
virtual const CBufferedCharacterItem* operator[](int index) const = 0;
Parameters
[in] index
The index of the item to retrieve.
Return value
Returns a pointer to the CBufferedCharacterItem object at the specified index.
GetCharacterClustersCount
Gets the number of character clusters in the buffered item set.
virtual int GetCharacterClustersCount() const = 0;
Return value
Returns the number of character clusters in the buffered item set.
GetCharacterCluster
Gets the character cluster at the specified index.
virtual const CCharacterCluster* GetCharacterCluster(int index) const = 0;
Parameters
[in] index
The index of the character cluster to retrieve.
Return value
Returns the character cluster at the specified index.
Retain
Increases the reference count of the CBufferedCharacterItemSet object.
virtual CBufferedCharacterItemSet* Retain() = 0;
Return value
An object of CBufferedCharacterItemSet.
Release
Decreases the reference count of the CBufferedCharacterItemSet object.
virtual void Release() = 0;