Generated interface IMp7JrsSemanticBagType_CollectionType for collection Mp7JrsSemanticBagType_CollectionType
Located at: mpeg7-v2.xsd, line 7155
Item type: SemanticBagType_LocalType (Class)
More...
Inherits Mp7JrsNodeCollection.
Inherited by Mp7JrsSemanticBagType_CollectionType.
Public Member Functions |
| virtual void | Initialize (unsigned int maxElems)=0 |
| | Initializes the collection.
|
| virtual void | addElement (const Mp7JrsNodePtr &toAdd, Mp7JrsClientID client=MP7JRS_UNDEFINED_CLIENT)=0 |
| | Adds a new element to the collection.
|
| virtual void | setElementAt (const Mp7JrsNodePtr &toSet, unsigned int setAt, Mp7JrsClientID client=MP7JRS_UNDEFINED_CLIENT)=0 |
| | Sets the element at the given position in the collection.
|
| virtual void | insertElementAt (const Mp7JrsNodePtr &toInsert, unsigned int insertAt, Mp7JrsClientID client=MP7JRS_UNDEFINED_CLIENT)=0 |
| | Inserts the element at the given position in the collection.
|
|
virtual void | removeAllElements (Mp7JrsClientID client=MP7JRS_UNDEFINED_CLIENT)=0 |
| | Removes all elements from the collection.
|
| virtual void | removeElementAt (unsigned int removeAt, Mp7JrsClientID client=MP7JRS_UNDEFINED_CLIENT)=0 |
| | Removes the specified element from the collection.
|
| virtual bool | containsElement (const Mp7JrsNodePtr &toCheck)=0 |
| | Check whether the collection contains the given element.
|
| virtual unsigned int | curCapacity () const =0 |
| | Get the current capacity of the collection.
|
| virtual const Mp7JrsNodePtr | elementAt (unsigned int getAt) const =0 |
| | Gets a constant pointer to the element at the given position.
|
| virtual Mp7JrsNodePtr | elementAt (unsigned int getAt)=0 |
| | Gets a pointer to the element at the given position.
|
| virtual Mp7JrsNodeEnum | GetElementsContainingType (unsigned int id) const =0 |
| | Gets an enumeration of all elements of the specified type
directly contained in the choice elements of the collection.
|
| virtual Mp7JrsNodeEnum | GetElementsOfType (unsigned int id) const =0 |
| | Gets an enumeration of all contained elements of the specified type.
|
| virtual Mp7JrsNodeEnum | GetElements () const =0 |
| | Gets an enumeration of all contained elements.
|
| virtual unsigned int | size () const =0 |
| | Get the size of the collection.
|
| virtual void | ensureExtraCapacity (unsigned int length)=0 |
| | Allocate additional memory for the speciifed number of elements.
|
| virtual int | elementIndexOf (const Mp7JrsNodePtr &toCheck) const =0 |
| | Get the position of the specified element.
|
Additional Inherited Members |
| bool | UseTypeAttribute |
| | Set if xsi:type attribute shall be written when serialising this node (useful for elements having abstract types).
|
|
Mp7JrsWeakPtr< Mp7JrsNode > | m_myself |
|
Mp7JrsNodePtr | UpwardWithXPath (const XMLCh *xpath) const |
|
virtual void | DeepCopy (const Mp7JrsNodePtr &original)=0 |
|
virtual bool | IsLocked (Mp7JrsClientID id) |
|
virtual Mp7JrsNodeEnum | GetAllChildElements () const =0 |
|
virtual Mp7JrsNodePtr | GetBaseRoot () |
|
virtual const Mp7JrsNodePtr | GetBaseRoot () const |
|
Mp7JrsClientID | lockOwner |
|
unsigned int | m_ClassId |
|
XMLCh * | m_ContentName |
|
Mp7JrsWeakPtr< Mp7JrsNode > | m_Parent |
Detailed Description
Generated interface IMp7JrsSemanticBagType_CollectionType for collection Mp7JrsSemanticBagType_CollectionType
Located at: mpeg7-v2.xsd, line 7155
Item type: SemanticBagType_LocalType (Class)
Member Function Documentation
| virtual void IMp7JrsSemanticBagType_CollectionType::addElement |
( |
const Mp7JrsNodePtr & |
toAdd, |
|
|
Mp7JrsClientID |
client = MP7JRS_UNDEFINED_CLIENT |
|
) |
| |
|
pure virtual |
| virtual bool IMp7JrsSemanticBagType_CollectionType::containsElement |
( |
const Mp7JrsNodePtr & |
toCheck | ) |
|
|
pure virtual |
Check whether the collection contains the given element.
- Parameters
-
- Returns
- True if the element is in the collection, false otherwise.
Implements Mp7JrsNodeCollection.
| virtual unsigned int IMp7JrsSemanticBagType_CollectionType::curCapacity |
( |
| ) |
const |
|
pure virtual |
Get the current capacity of the collection.
- Returns
- The number of elements for which memory has been allocated.
Implements Mp7JrsNodeCollection.
| virtual const Mp7JrsNodePtr IMp7JrsSemanticBagType_CollectionType::elementAt |
( |
unsigned int |
getAt | ) |
const |
|
pure virtual |
Gets a constant pointer to the element at the given position.
- Parameters
-
| Position | of the element to be retrieved. |
- Returns
- A pointer to the given element or a null pointer if there is no element at the specified position. Default element type: Mp7JrsSemanticBagType_LocalType.
Implements Mp7JrsNodeCollection.
| virtual Mp7JrsNodePtr IMp7JrsSemanticBagType_CollectionType::elementAt |
( |
unsigned int |
getAt | ) |
|
|
pure virtual |
Gets a pointer to the element at the given position.
- Parameters
-
| Position | of the element to be retrieved. |
- Returns
- A pointer to the given element or a null pointer if there is no element at the specified position. Default element type: Mp7JrsSemanticBagType_LocalType.
Implements Mp7JrsNodeCollection.
| virtual int IMp7JrsSemanticBagType_CollectionType::elementIndexOf |
( |
const Mp7JrsNodePtr & |
toCheck | ) |
const |
|
pure virtual |
Get the position of the specified element.
- Parameters
-
- Returns
- The position of the specified element or -1 if the element has not been found.
Implements Mp7JrsNodeCollection.
| virtual void IMp7JrsSemanticBagType_CollectionType::ensureExtraCapacity |
( |
unsigned int |
length | ) |
|
|
pure virtual |
Allocate additional memory for the speciifed number of elements.
- Parameters
-
| length | Number of elements to allocate memory for. |
Implements Mp7JrsNodeCollection.
| virtual Mp7JrsNodeEnum IMp7JrsSemanticBagType_CollectionType::GetElements |
( |
| ) |
const |
|
pure virtual |
Gets an enumeration of all contained elements.
- Returns
- A (possibly empty) enumeration of all contained elements.
Implements Mp7JrsNodeCollection.
| virtual Mp7JrsNodeEnum IMp7JrsSemanticBagType_CollectionType::GetElementsContainingType |
( |
unsigned int |
id | ) |
const |
|
pure virtual |
Gets an enumeration of all elements of the specified type
directly contained in the choice elements of the collection.
- Parameters
-
| The | class id of the wanted elements. |
- Returns
- A (possibly empty) enumeration of all contained elements of type id.
| virtual Mp7JrsNodeEnum IMp7JrsSemanticBagType_CollectionType::GetElementsOfType |
( |
unsigned int |
id | ) |
const |
|
pure virtual |
Gets an enumeration of all contained elements of the specified type.
- Parameters
-
| The | class id of the wanted elements. |
- Returns
- A (possibly empty) enumeration of all contained elements of type id.
Implements Mp7JrsNodeCollection.
| virtual void IMp7JrsSemanticBagType_CollectionType::Initialize |
( |
unsigned int |
maxElems | ) |
|
|
pure virtual |
Initializes the collection.
- Parameters
-
| maxElems | Number of elements for which memory is initially allocated. |
Implements Mp7JrsNodeCollection.
| virtual void IMp7JrsSemanticBagType_CollectionType::insertElementAt |
( |
const Mp7JrsNodePtr & |
toInsert, |
|
|
unsigned int |
insertAt, |
|
|
Mp7JrsClientID |
client = MP7JRS_UNDEFINED_CLIENT |
|
) |
| |
|
pure virtual |
Inserts the element at the given position in the collection.
- Parameters
-
Implements Mp7JrsNodeCollection.
| virtual void IMp7JrsSemanticBagType_CollectionType::removeElementAt |
( |
unsigned int |
removeAt, |
|
|
Mp7JrsClientID |
client = MP7JRS_UNDEFINED_CLIENT |
|
) |
| |
|
pure virtual |
Removes the specified element from the collection.
- Parameters
-
| removeAt | Position of the element to be removed. |
Implements Mp7JrsNodeCollection.
| virtual void IMp7JrsSemanticBagType_CollectionType::setElementAt |
( |
const Mp7JrsNodePtr & |
toSet, |
|
|
unsigned int |
setAt, |
|
|
Mp7JrsClientID |
client = MP7JRS_UNDEFINED_CLIENT |
|
) |
| |
|
pure virtual |
Sets the element at the given position in the collection.
- Parameters
-
Implements Mp7JrsNodeCollection.
| virtual unsigned int IMp7JrsSemanticBagType_CollectionType::size |
( |
| ) |
const |
|
pure virtual |
Get the size of the collection.
- Returns
- The current number of elements in the collection.
Implements Mp7JrsNodeCollection.