#include <sconfig.hpp>
Public Member Functions | |
~PairHandler () | |
PairHandler | NextSibling () |
Gets the next Pair sibling and wraps it with a PairHandler. | |
PairHandler | NextSibling (const string &name) |
Gets the next Pair sibling with a specific name and wraps it with a PairHandler. | |
PairHandler | PreviousSibling () |
Gets the previous Pair sibling and wraps it with a PairHandler. | |
PairHandler | PreviousSibling (const string &name) |
Gets the previous Pair sibling with a specific name and wraps it with a PairHandler. | |
const Pair * | Get () |
Gets the actual Pair pointer, if it exists. | |
Private Member Functions | |
PairHandler (const Pair *pair) | |
Default constructor. Private. | |
PairHandler (const PairHandler &handler) | |
Copy constructor. Private. | |
PairHandler & | operator= (const PairHandler &old) |
Private Attributes | |
const Pair * | m_Pair |
Friends | |
class | Handler |
This class should not be instantiated directly by the client.
PairHandler::PairHandler | ( | const Pair * | pair | ) | [private] |
PairHandler::PairHandler | ( | const PairHandler & | handler | ) | [private] |
Copy constructor. Private.
PairHandler::~PairHandler | ( | ) |
PairHandler & PairHandler::operator= | ( | const PairHandler & | old | ) | [private] |
PairHandler PairHandler::NextSibling | ( | ) |
Gets the next Pair sibling and wraps it with a PairHandler.
PairHandler PairHandler::NextSibling | ( | const string & | name | ) |
Gets the next Pair sibling with a specific name and wraps it with a PairHandler.
name | the Pair's name to search for. |
PairHandler PairHandler::PreviousSibling | ( | ) |
Gets the previous Pair sibling and wraps it with a PairHandler.
PairHandler PairHandler::PreviousSibling | ( | const string & | name | ) |
Gets the previous Pair sibling with a specific name and wraps it with a PairHandler.
name | the Pair's name to search for. |
const Pair * PairHandler::Get | ( | ) |
friend class Handler [friend] |
const Pair* JC::SConfig::PairHandler::m_Pair [private] |