Mp7Jrs  2.7.1
IMp7JrsDoubleMatrixType Class Reference

Generated interface IMp7JrsDoubleMatrixType for class Mp7JrsDoubleMatrixType
Located at: mpeg7-v2.xsd, line 3412
Classified: Class
Derived from: doubleVector (Collection)
More...

Inherits IMp7JrsdoubleVector.

Inherited by IMp7JrsProbabilityDistributionType_Cumulant_Value_LocalType, IMp7JrsProbabilityDistributionType_Moment_Value_LocalType, and Mp7JrsDoubleMatrixType.

Public Member Functions

virtual Mp7JrsPtr
< Mp7JrsdoubleVector > 
GetBaseCollection () const =0
 Retrieves the base collection of Mp7JrsDoubleMatrixType.
virtual void Initialize (unsigned int maxElems)=0
 Initializes the collection.
virtual void addElement (const double &toAdd, Mp7JrsClientID client=MP7JRS_UNDEFINED_CLIENT)=0
 Adds a new element to the collection.
virtual void setElementAt (const double &toSet, unsigned int setAt, Mp7JrsClientID client=MP7JRS_UNDEFINED_CLIENT)=0
 Sets the element at the given position in the collection.
virtual void insertElementAt (const double &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 double &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 double elementAt (unsigned int getAt) const =0
 Gets a constant pointer to the element at the given position.
virtual double elementAt (unsigned int getAt)=0
 Gets a pointer to the element at the given position.
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 double &toCheck) const =0
 Get the position of the specified element.
virtual Mp7Jrsdim_LocalPtr Getdim () const =0
 Get dim attribute.
virtual void Setdim (const Mp7Jrsdim_LocalPtr &item, Mp7JrsClientID client=MP7JRS_UNDEFINED_CLIENT)=0
 Set dim attribute.
virtual Mp7JrsNodeEnum GetOrCreateFromXPath (const XMLCh *xpath, Mp7JrsClientID client=MP7JRS_UNDEFINED_CLIENT, Mp7JrsXPathCreation flag=MP7JRS_FORCECREATE, Mp7JrsXPathParseContext *context=NULL)=0
 Gets or creates Mp7JrsNodePtr child elements of DoubleMatrixType.

Additional Inherited Members

- Public Attributes inherited from Mp7JrsNode
bool UseTypeAttribute
 Set if xsi:type attribute shall be written when serialising this node (useful for elements having abstract types).
Mp7JrsWeakPtr< Mp7JrsNode > m_myself
- Protected Member Functions inherited from Mp7JrsNode
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
- Protected Attributes inherited from Mp7JrsNode
Mp7JrsClientID lockOwner
unsigned int m_ClassId
XMLCh * m_ContentName
Mp7JrsWeakPtr< Mp7JrsNode > m_Parent

Detailed Description

Generated interface IMp7JrsDoubleMatrixType for class Mp7JrsDoubleMatrixType
Located at: mpeg7-v2.xsd, line 3412
Classified: Class
Derived from: doubleVector (Collection)

Member Function Documentation

virtual void IMp7JrsDoubleMatrixType::addElement ( const double &  toAdd,
Mp7JrsClientID  client = MP7JRS_UNDEFINED_CLIENT 
)
pure virtual

Adds a new element to the collection.

(Inherited from Mp7JrsdoubleVector)

Parameters
toAddElement to be added. Default element type: double

Implements IMp7JrsdoubleVector.

Implemented in IMp7JrsProbabilityDistributionType_Cumulant_Value_LocalType, and IMp7JrsProbabilityDistributionType_Moment_Value_LocalType.

virtual bool IMp7JrsDoubleMatrixType::containsElement ( const double &  toCheck)
pure virtual

Check whether the collection contains the given element.

(Inherited from Mp7JrsdoubleVector)

Parameters
toCheckElement to be checked for. Default element type: double
Returns
True if the element is in the collection, false otherwise.

Implements IMp7JrsdoubleVector.

Implemented in IMp7JrsProbabilityDistributionType_Cumulant_Value_LocalType, and IMp7JrsProbabilityDistributionType_Moment_Value_LocalType.

virtual unsigned int IMp7JrsDoubleMatrixType::curCapacity ( ) const
pure virtual

Get the current capacity of the collection.

(Inherited from Mp7JrsdoubleVector)

Returns
The number of elements for which memory has been allocated.

Implements IMp7JrsdoubleVector.

Implemented in IMp7JrsProbabilityDistributionType_Cumulant_Value_LocalType, and IMp7JrsProbabilityDistributionType_Moment_Value_LocalType.

virtual const double IMp7JrsDoubleMatrixType::elementAt ( unsigned int  getAt) const
pure virtual

Gets a constant pointer to the element at the given position.

(Inherited from Mp7JrsdoubleVector)

Parameters
Positionof 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: double.

Implements IMp7JrsdoubleVector.

Implemented in IMp7JrsProbabilityDistributionType_Cumulant_Value_LocalType, and IMp7JrsProbabilityDistributionType_Moment_Value_LocalType.

virtual double IMp7JrsDoubleMatrixType::elementAt ( unsigned int  getAt)
pure virtual

Gets a pointer to the element at the given position.

(Inherited from Mp7JrsdoubleVector)

Parameters
Positionof 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: double.

Implements IMp7JrsdoubleVector.

Implemented in IMp7JrsProbabilityDistributionType_Cumulant_Value_LocalType, and IMp7JrsProbabilityDistributionType_Moment_Value_LocalType.

virtual int IMp7JrsDoubleMatrixType::elementIndexOf ( const double &  toCheck) const
pure virtual

Get the position of the specified element.

(Inherited from Mp7JrsdoubleVector)

Parameters
toCheckElement to be found in the collection. Default element type: double
Returns
The position of the specified element or -1 if the element has not been found.

Implements IMp7JrsdoubleVector.

Implemented in IMp7JrsProbabilityDistributionType_Cumulant_Value_LocalType, and IMp7JrsProbabilityDistributionType_Moment_Value_LocalType.

virtual void IMp7JrsDoubleMatrixType::ensureExtraCapacity ( unsigned int  length)
pure virtual

Allocate additional memory for the speciifed number of elements.

(Inherited from Mp7JrsdoubleVector)

Parameters
lengthNumber of elements to allocate memory for.

Implements IMp7JrsdoubleVector.

Implemented in IMp7JrsProbabilityDistributionType_Cumulant_Value_LocalType, and IMp7JrsProbabilityDistributionType_Moment_Value_LocalType.

virtual Mp7JrsPtr< Mp7JrsdoubleVector > IMp7JrsDoubleMatrixType::GetBaseCollection ( ) const
pure virtual
virtual Mp7Jrsdim_LocalPtr IMp7JrsDoubleMatrixType::Getdim ( ) const
pure virtual
virtual Mp7JrsNodeEnum IMp7JrsDoubleMatrixType::GetOrCreateFromXPath ( const XMLCh *  xpath,
Mp7JrsClientID  client = MP7JRS_UNDEFINED_CLIENT,
Mp7JrsXPathCreation  flag = MP7JRS_FORCECREATE,
Mp7JrsXPathParseContext *  context = NULL 
)
pure virtual

Gets or creates Mp7JrsNodePtr child elements of DoubleMatrixType.

Currently just supports rudimentary XPath expressions as DoubleMatrixType contains no child elements of type "Mp7JrsNodePtr" at all.

Supported XPath expressions for GetOrCreateFromXPath

/
  • Get the root of this node.
..
  • This feature is experimental.
  • Get the ancestor (parent node), or an empty list if the node already is the root node.
Parameters
xpaththe xpath expression to get or create.
clientthe ID in case of locking.
Returns
the appropriate subelement node list. Can be empty in case of incompatible name/type/index settings.

Reimplemented from Mp7JrsNode.

Implemented in IMp7JrsProbabilityDistributionType_Cumulant_Value_LocalType, and IMp7JrsProbabilityDistributionType_Moment_Value_LocalType.

virtual void IMp7JrsDoubleMatrixType::Initialize ( unsigned int  maxElems)
pure virtual

Initializes the collection.

(Inherited from Mp7JrsdoubleVector)

Parameters
maxElemsNumber of elements for which memory is initially allocated.

Implements IMp7JrsdoubleVector.

Implemented in IMp7JrsProbabilityDistributionType_Cumulant_Value_LocalType, and IMp7JrsProbabilityDistributionType_Moment_Value_LocalType.

virtual void IMp7JrsDoubleMatrixType::insertElementAt ( const double &  toInsert,
unsigned int  insertAt,
Mp7JrsClientID  client = MP7JRS_UNDEFINED_CLIENT 
)
pure virtual

Inserts the element at the given position in the collection.

(Inherited from Mp7JrsdoubleVector)

Parameters
toInsertElement to be inserted. Default element type: double
insertAtPosition where the element will be inserted.

Implements IMp7JrsdoubleVector.

Implemented in IMp7JrsProbabilityDistributionType_Cumulant_Value_LocalType, and IMp7JrsProbabilityDistributionType_Moment_Value_LocalType.

virtual void IMp7JrsDoubleMatrixType::removeAllElements ( Mp7JrsClientID  client = MP7JRS_UNDEFINED_CLIENT)
pure virtual

Removes all elements from the collection.

(Inherited from Mp7JrsdoubleVector)

Implements IMp7JrsdoubleVector.

Implemented in IMp7JrsProbabilityDistributionType_Cumulant_Value_LocalType, and IMp7JrsProbabilityDistributionType_Moment_Value_LocalType.

virtual void IMp7JrsDoubleMatrixType::removeElementAt ( unsigned int  removeAt,
Mp7JrsClientID  client = MP7JRS_UNDEFINED_CLIENT 
)
pure virtual

Removes the specified element from the collection.

(Inherited from Mp7JrsdoubleVector)

Parameters
removeAtPosition of the element to be removed.

Implements IMp7JrsdoubleVector.

Implemented in IMp7JrsProbabilityDistributionType_Cumulant_Value_LocalType, and IMp7JrsProbabilityDistributionType_Moment_Value_LocalType.

virtual void IMp7JrsDoubleMatrixType::Setdim ( const Mp7Jrsdim_LocalPtr &  item,
Mp7JrsClientID  client = MP7JRS_UNDEFINED_CLIENT 
)
pure virtual

Set dim attribute.

Parameters
itemconst Mp7Jrsdim_LocalPtr &

Implemented in IMp7JrsProbabilityDistributionType_Cumulant_Value_LocalType, and IMp7JrsProbabilityDistributionType_Moment_Value_LocalType.

virtual void IMp7JrsDoubleMatrixType::setElementAt ( const double &  toSet,
unsigned int  setAt,
Mp7JrsClientID  client = MP7JRS_UNDEFINED_CLIENT 
)
pure virtual

Sets the element at the given position in the collection.

(Inherited from Mp7JrsdoubleVector)

Parameters
toSetNew value of the element. Default element type: double
setAtPosition of the element which shall be set.

Implements IMp7JrsdoubleVector.

Implemented in IMp7JrsProbabilityDistributionType_Cumulant_Value_LocalType, and IMp7JrsProbabilityDistributionType_Moment_Value_LocalType.

virtual unsigned int IMp7JrsDoubleMatrixType::size ( ) const
pure virtual

Get the size of the collection.

(Inherited from Mp7JrsdoubleVector)

Returns
The current number of elements in the collection.

Implements IMp7JrsdoubleVector.

Implemented in IMp7JrsProbabilityDistributionType_Cumulant_Value_LocalType, and IMp7JrsProbabilityDistributionType_Moment_Value_LocalType.