CrystalSpace

Public API Reference

Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

iDocumentAttribute Struct Reference
[Utilities]

An attribute for an iDocumentNode. More...

#include <document.h>

Inheritance diagram for iDocumentAttribute:

iBase List of all members.

Public Methods

virtual const char * GetName ()=0
 Get name of this attribute.

virtual const char * GetValue ()=0
 Get value of this attribute.

virtual int GetValueAsInt ()=0
 Get value of this attribute as integer.

virtual float GetValueAsFloat ()=0
 Get value of this attribute as float.

virtual bool GetValueAsBool ()=0
 Get value of this attribute as float.

virtual void SetName (const char *name)=0
 Set name of this attribute.

virtual void SetValue (const char *value)=0
 Set value of this attribute.

virtual void SetValueAsInt (int v)=0
 Set int value of this attribute.

virtual void SetValueAsFloat (float f)=0
 Set float value of this attribute.


Detailed Description

An attribute for an iDocumentNode.

Main creators of instances implementing this interface:

Main ways to get pointers to this interface:

Definition at line 107 of file document.h.


Member Function Documentation

virtual const char* iDocumentAttribute::GetName   [pure virtual]
 

Get name of this attribute.

virtual const char* iDocumentAttribute::GetValue   [pure virtual]
 

Get value of this attribute.

virtual bool iDocumentAttribute::GetValueAsBool   [pure virtual]
 

Get value of this attribute as float.

virtual float iDocumentAttribute::GetValueAsFloat   [pure virtual]
 

Get value of this attribute as float.

virtual int iDocumentAttribute::GetValueAsInt   [pure virtual]
 

Get value of this attribute as integer.

virtual void iDocumentAttribute::SetName const char *    name [pure virtual]
 

Set name of this attribute.

virtual void iDocumentAttribute::SetValue const char *    value [pure virtual]
 

Set value of this attribute.

virtual void iDocumentAttribute::SetValueAsFloat float    f [pure virtual]
 

Set float value of this attribute.

virtual void iDocumentAttribute::SetValueAsInt int    v [pure virtual]
 

Set int value of this attribute.


The documentation for this struct was generated from the following file:
Generated for Crystal Space by doxygen 1.2.18