Public Member Functions | Static Public Member Functions | Public Attributes

sp::tool::SXMLAttribute Struct Reference

#include <spToolXMLParser.hpp>

List of all members.

Public Member Functions

 SXMLAttribute ()
 SXMLAttribute (const io::stringc &AttribName, const io::stringc &AttribValue)
 ~SXMLAttribute ()
template<typename T >
void setArray (const std::vector< T > &Array)
template<typename T >
std::vector< T > getArray () const
void setColor (const video::color &Color)
video::color getColor () const
void setVector (const dim::vector3df &Vec)
dim::vector3df getVector () const
template<typename T >
getValue () const
bool getBool () const

Static Public Member Functions

template<typename T >
static void setStringArray (io::stringc &Str, const std::vector< T > &Array)
template<typename T >
static std::vector< T > getStringArray (const io::stringc &Str)

Public Attributes

io::stringc Name
io::stringc Value

Constructor & Destructor Documentation

sp::tool::SXMLAttribute::SXMLAttribute (  ) 
sp::tool::SXMLAttribute::SXMLAttribute ( const io::stringc AttribName,
const io::stringc AttribValue 
)
sp::tool::SXMLAttribute::~SXMLAttribute (  ) 

Member Function Documentation

template<typename T >
std::vector<T> sp::tool::SXMLAttribute::getArray (  )  const [inline]
bool sp::tool::SXMLAttribute::getBool (  )  const [inline]
video::color sp::tool::SXMLAttribute::getColor (  )  const
template<typename T >
static std::vector<T> sp::tool::SXMLAttribute::getStringArray ( const io::stringc Str  )  [inline, static]
template<typename T >
T sp::tool::SXMLAttribute::getValue (  )  const [inline]
dim::vector3df sp::tool::SXMLAttribute::getVector (  )  const
template<typename T >
void sp::tool::SXMLAttribute::setArray ( const std::vector< T > &  Array  )  [inline]
void sp::tool::SXMLAttribute::setColor ( const video::color Color  ) 
template<typename T >
static void sp::tool::SXMLAttribute::setStringArray ( io::stringc Str,
const std::vector< T > &  Array 
) [inline, static]
void sp::tool::SXMLAttribute::setVector ( const dim::vector3df Vec  ) 

Member Data Documentation


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines