#include <sconfig.hpp>

Public Member Functions | |
| Pair (const string &key="", const string &value="") | |
| Default constructor. | |
| Pair (const Pair &pair) | |
| ~Pair () | |
| Pair & | operator= (const Pair &old) |
| void | CopyTo (Pair &target) const |
| Creates a valid copy of the actual object. | |
| void | Clear () |
| Resets private members. | |
| const Pair * | NextSibling () const |
| Gets the next Pair sibling. | |
| Pair * | NextSibling () |
| const Pair * | NextSibling (const string &name) const |
| Gets the next Pair sibling with a specific key value. | |
| Pair * | NextSibling (const string &name) |
| const Pair * | PreviousSibling () const |
| Gets the previous Pair sibling. | |
| Pair * | PreviousSibling () |
| const Pair * | PreviousSibling (const string &name) const |
| Gets the previous Pair sibling with a specific key value. | |
| Pair * | PreviousSibling (const string &name) |
| const string & | Key () const |
| Gets the key. | |
| const string & | Value () const |
| Gets the value. | |
| void | Key (const string &key) |
| Sets the key. | |
| void | Value (const string &value) |
| Sets the value. | |
| const Node * | ParentNode () const |
| Gets the parent Node. | |
| Node * | ParentNode () |
Private Attributes | |
| string | m_Key |
| string | m_Value |
| Node * | m_Node |
| Pair * | m_NextSibling |
| Pair * | m_PreviousSibling |
Friends | |
| class | Node |
| Pair::Pair | ( | const string & | key = "", |
|
| const string & | value = "" | |||
| ) |
Default constructor.
| key | string for Pair's key. | |
| value | string for Pair's value. |
| Pair::Pair | ( | const Pair & | pair | ) |
| JC::SConfig::Pair::~Pair | ( | ) | [inline] |
| void Pair::CopyTo | ( | Pair & | target | ) | const |
Creates a valid copy of the actual object.
| target | the destination where to copy the object. |
| void Pair::Clear | ( | ) |
Resets private members.
| const Pair * Pair::NextSibling | ( | ) | const |
Gets the next Pair sibling.
| Pair * Pair::NextSibling | ( | ) |
| const Pair * Pair::NextSibling | ( | const string & | name | ) | const |
Gets the next Pair sibling with a specific key value.
| name | the Pair's key value to search for. |
| Pair * Pair::NextSibling | ( | const string & | name | ) |
| const Pair * Pair::PreviousSibling | ( | ) | const |
Gets the previous Pair sibling.
| Pair * Pair::PreviousSibling | ( | ) |
| const Pair * Pair::PreviousSibling | ( | const string & | name | ) | const |
Gets the previous Pair sibling with a specific key value.
| name | the Pair's key value to search for. |
| Pair * Pair::PreviousSibling | ( | const string & | name | ) |
| const string & Pair::Key | ( | ) | const |
Gets the key.
| const string & Pair::Value | ( | ) | const |
Gets the value.
| void Pair::Key | ( | const string & | key | ) |
Sets the key.
| key | the string to set. |
| void Pair::Value | ( | const string & | value | ) |
Sets the value.
| value | the string to set. |
| Node * Pair::ParentNode | ( | ) |
friend class Node [friend] |
string JC::SConfig::Pair::m_Key [private] |
string JC::SConfig::Pair::m_Value [private] |
Node* JC::SConfig::Pair::m_Node [private] |
Pair* JC::SConfig::Pair::m_NextSibling [private] |
Pair* JC::SConfig::Pair::m_PreviousSibling [private] |
1.5.6