Mp7Jrs  2.7.1
IMp7JrsClassificationPreferencesType_Country_LocalType Class Reference

Generated interface IMp7JrsClassificationPreferencesType_Country_LocalType for class Mp7JrsClassificationPreferencesType_Country_LocalType
Located at: mpeg7-v2.xsd, line 8849
Classified: Class
Derived from: countryCode (Pattern)
More...

Inherits IMp7JrscountryCode.

Inherited by Mp7JrsClassificationPreferencesType_Country_LocalType.

Public Member Functions

virtual Mp7JrspreferenceValuePtr GetpreferenceValue () const =0
 Get preferenceValue attribute.
virtual bool ExistpreferenceValue () const =0
 Get preferenceValue attribute validity information.
virtual void SetpreferenceValue (const Mp7JrspreferenceValuePtr &item, Mp7JrsClientID client=MP7JRS_UNDEFINED_CLIENT)=0
 Set preferenceValue attribute.
virtual void InvalidatepreferenceValue ()=0
 Invalidate preferenceValue attribute.
virtual XMLCh * GetContent () const =0
 Get Content element.
virtual void SetContent (XMLCh *item, Mp7JrsClientID client=MP7JRS_UNDEFINED_CLIENT)=0
 Set Content element.
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 ClassificationPreferencesType_Country_LocalType.

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 IMp7JrsClassificationPreferencesType_Country_LocalType for class Mp7JrsClassificationPreferencesType_Country_LocalType
Located at: mpeg7-v2.xsd, line 8849
Classified: Class
Derived from: countryCode (Pattern)

Member Function Documentation

virtual bool IMp7JrsClassificationPreferencesType_Country_LocalType::ExistpreferenceValue ( ) const
pure virtual

Get preferenceValue attribute validity information.

Returns
true if attribute value is valid, false if not.
virtual XMLCh* IMp7JrsClassificationPreferencesType_Country_LocalType::GetContent ( ) const
pure virtual

Get Content element.


(Inherited from Mp7JrscountryCode)

Returns
XMLCh *

Implements IMp7JrscountryCode.

virtual Mp7JrsNodeEnum IMp7JrsClassificationPreferencesType_Country_LocalType::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 ClassificationPreferencesType_Country_LocalType.

Currently just supports rudimentary XPath expressions as ClassificationPreferencesType_Country_LocalType 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.

virtual Mp7JrspreferenceValuePtr IMp7JrsClassificationPreferencesType_Country_LocalType::GetpreferenceValue ( ) const
pure virtual

Get preferenceValue attribute.

Returns
Mp7JrspreferenceValuePtr
virtual void IMp7JrsClassificationPreferencesType_Country_LocalType::InvalidatepreferenceValue ( )
pure virtual

Invalidate preferenceValue attribute.

(Validate it again by setting a value)

virtual void IMp7JrsClassificationPreferencesType_Country_LocalType::SetContent ( XMLCh *  item,
Mp7JrsClientID  client = MP7JRS_UNDEFINED_CLIENT 
)
pure virtual

Set Content element.


(Inherited from Mp7JrscountryCode)

Parameters
itemXMLCh *

Implements IMp7JrscountryCode.

virtual void IMp7JrsClassificationPreferencesType_Country_LocalType::SetpreferenceValue ( const Mp7JrspreferenceValuePtr &  item,
Mp7JrsClientID  client = MP7JRS_UNDEFINED_CLIENT 
)
pure virtual

Set preferenceValue attribute.

Parameters
itemconst Mp7JrspreferenceValuePtr &