|
Mp7Jrs
2.7.1
|
Generated interface IMp7JrsPreferenceConditionType for class Mp7JrsPreferenceConditionType
Located at: mpeg7-v2.xsd, line 8673
Classified: Class
Derived from: DType (Class)
More...
Inherits IMp7JrsDType.
Inherited by IMp7JrsBrowsingPreferencesType_PreferenceCondition_LocalType, and Mp7JrsPreferenceConditionType.
Public Member Functions | |
| 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 PreferenceConditionType. | |
Sequence | |
| virtual Mp7JrsPlacePtr | GetPlace () const =0 |
| Get Place element. | |
| virtual bool | IsValidPlace () const =0 |
| virtual void | SetPlace (const Mp7JrsPlacePtr &item, Mp7JrsClientID client=MP7JRS_UNDEFINED_CLIENT)=0 |
| Set Place element. | |
| virtual void | InvalidatePlace ()=0 |
| Invalidate Place element. | |
| virtual Mp7JrsPreferenceConditionType_Time_CollectionPtr | GetTime () const =0 |
| Get Time element. | |
| virtual void | SetTime (const Mp7JrsPreferenceConditionType_Time_CollectionPtr &item, Mp7JrsClientID client=MP7JRS_UNDEFINED_CLIENT)=0 |
| Set Time element. | |
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 |
Generated interface IMp7JrsPreferenceConditionType for class Mp7JrsPreferenceConditionType
Located at: mpeg7-v2.xsd, line 8673
Classified: Class
Derived from: DType (Class)
|
pure virtual |
Gets or creates Mp7JrsNodePtr child elements of PreferenceConditionType.
Currently this type contains 2 child elements of type "Mp7JrsNodePtr".
Supported XPath expressions for GetOrCreateFromXPath
A.A.A/B query or create, childnodes B of all As). ith child element of all A.ith element, try to create a new one at index i.i to be 1 otherwise an exception is thrown.i must not exceed the number of existing items +1 (appending is allowed, filling gaps not).MissingElementException is thrown, and you can extract the last valid index. (Example: If a collection contains 2 elements and you are requesting the 4th element).A of type T.ith child element named A, which must be of type T.i, a new one is created and inserted (appended). A of type T, take the ith one.i, create and append one.A.A, which must be of type T.A of type T, take the last one.A with its default type.A of type T.A of type T.Supported XPath expressions for GetFromXPath
The same expressions like GetOrCreateFromXPath plus
A at indexes lower than i.i must be greater than -1, otherwise an exception is thrown. A at indexes greater than i.i must be greater than -1, otherwise an exception is thrown. A at indexes greater than i and lower than j.i and j must be greater than -1, otherwise an exception is thrown.i is greater than j then an empty list is returned.These three expressions can be combined with the @xsi:type attribute to get a more restricted query.
| xpath | the xpath expression to get or create. |
| client | the ID in case of locking. |
Implements IMp7JrsDType.
Implemented in IMp7JrsBrowsingPreferencesType_PreferenceCondition_LocalType.
|
pure virtual |
Get Place element.
Implemented in IMp7JrsBrowsingPreferencesType_PreferenceCondition_LocalType.
|
pure virtual |
Get Time element.
Implemented in IMp7JrsBrowsingPreferencesType_PreferenceCondition_LocalType.
|
pure virtual |
Invalidate Place element.
(Validate it again by setting a value)
Implemented in IMp7JrsBrowsingPreferencesType_PreferenceCondition_LocalType.
|
pure virtual |
Set Place element.
| item | const Mp7JrsPlacePtr & |
Implemented in IMp7JrsBrowsingPreferencesType_PreferenceCondition_LocalType.
|
pure virtual |
Set Time element.
| item | const Mp7JrsPreferenceConditionType_Time_CollectionPtr & |
Implemented in IMp7JrsBrowsingPreferencesType_PreferenceCondition_LocalType.