| Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
plist::Primitive< std::string > Class Template Reference#include <plistPrimitives.h>
Inheritance diagram for plist::Primitive< std::string >: ![]() Detailed Descriptiontemplate<>
Provides a | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Public Member Functions | |
| Primitive () | |
| constructor | |
| Primitive (const std::string &v) | |
| casting constructor | |
| Primitive (const std::string &v, size_type off, size_type count=npos) | |
| casting constructor | |
| Primitive (const char *v, size_type count) | |
| casting constructor | |
| Primitive (const char *v) | |
| casting constructor | |
| Primitive (size_type count, char v) | |
| casting constructor | |
| Primitive & | operator= (const std::string &v) |
| assignment | |
| Primitive & | operator= (const char *v) |
| assignment | |
| Primitive & | operator= (char v) |
| assignment | |
| const std::string & | operator * () const |
| dereference will return data storage as a string (for uniformity with the other Primitives, although unnecessary with this instantiation) | |
| const std::string * | operator-> () const |
| returns a pointer to this (for uniformity with the other Primitives, although unnecessary with this instantiation) | |
| void | loadXML (xmlNode *node) |
| interprets node as a string | |
| void | saveXML (xmlNode *node) const |
| saves the content of the string into node | |
| void | set (const std::string &str) |
| assign a new value | |
| std::string | get () const |
| return current value as a string | |
| virtual Primitive< std::string > * | clone () const __attribute__((warn_unused_result)) |
| implements the clone function for Primitive<std::string> | |
| plist::Primitive< std::string >::Primitive | ( | ) | [inline] |
| plist::Primitive< std::string >::Primitive | ( | const std::string & | v | ) | [inline] |
| plist::Primitive< std::string >::Primitive | ( | const std::string & | v, | |
| size_type | off, | |||
| size_type | count = npos | |||
| ) | [inline] |
| plist::Primitive< std::string >::Primitive | ( | const char * | v, | |
| size_type | count | |||
| ) | [inline] |
| plist::Primitive< std::string >::Primitive | ( | const char * | v | ) | [inline] |
| plist::Primitive< std::string >::Primitive | ( | size_type | count, | |
| char | v | |||
| ) | [inline] |
| Primitive< std::string > * plist::Primitive< std::string >::clone | ( | ) | const [virtual] |
implements the clone function for Primitive<std::string>
Implements plist::ObjectBase.
Definition at line 291 of file plistPrimitives.cc.
| std::string plist::Primitive< std::string >::get | ( | ) | const [inline, virtual] |
return current value as a string
Implements plist::PrimitiveBase.
Definition at line 277 of file plistPrimitives.h.
| void plist::Primitive< std::string >::loadXML | ( | xmlNode * | node | ) | [virtual] |
interprets node as a string
Reimplemented from plist::ObjectBase.
Definition at line 262 of file plistPrimitives.cc.
| const std::string& plist::Primitive< std::string >::operator * | ( | ) | const [inline] |
dereference will return data storage as a string (for uniformity with the other Primitives, although unnecessary with this instantiation)
Definition at line 269 of file plistPrimitives.h.
| const std::string* plist::Primitive< std::string >::operator-> | ( | ) | const [inline] |
returns a pointer to this (for uniformity with the other Primitives, although unnecessary with this instantiation)
Definition at line 271 of file plistPrimitives.h.
| Primitive& plist::Primitive< std::string >::operator= | ( | char | v | ) | [inline] |
| Primitive& plist::Primitive< std::string >::operator= | ( | const char * | v | ) | [inline] |
| Primitive& plist::Primitive< std::string >::operator= | ( | const std::string & | v | ) | [inline] |
| void plist::Primitive< std::string >::saveXML | ( | xmlNode * | node | ) | const [virtual] |
saves the content of the string into node
Implements plist::ObjectBase.
Definition at line 284 of file plistPrimitives.cc.
| void plist::Primitive< std::string >::set | ( | const std::string & | str | ) | [inline, virtual] |
assign a new value
Implements plist::PrimitiveBase.
Definition at line 276 of file plistPrimitives.h.
|
Tekkotsu v3.0 |
Generated Wed Oct 4 00:05:24 2006 by Doxygen 1.4.7 |