JC::SConfig::Handler Class Reference
Class that wraps a
Node class for easy and secure access.
More...
#include <sconfig.hpp>
List of all members.
Detailed Description
Class that wraps a
Node class for easy and secure access.
Constructor & Destructor Documentation
Handler::Handler |
( |
const Node * |
node |
) |
|
Default constructor.
- Parameters:
-
| node | Pointer to the Node to be wrapped. |
Handler::Handler |
( |
const Handler & |
handler |
) |
|
Member Function Documentation
Handler Handler::FirstNode |
( |
|
) |
const |
Handler Handler::FirstNode |
( |
const string & |
name |
) |
const |
Gets the first Node with a specific name and wraps it with an Handler.
- Parameters:
-
| name | the Node's name to search for. |
- Returns:
- An Handler object wrapping the first Node with the specified name.
Gets the next Node sibling and wraps it with an Handler.
- Returns:
- An Handler object wrapping the next sibling.
Handler Handler::NextSibling |
( |
const string & |
name |
) |
|
Gets the next Node sibling with a specific name and wraps it with an Handler.
- Parameters:
-
| name | the Node's name to search for. |
- Returns:
- An Handler object wrapping the next sibling with the specified name.
Handler Handler::PreviousSibling |
( |
|
) |
|
Gets the previous Node sibling and wraps it with an Handler.
- Returns:
- An Handler object wrapping the previous sibling.
Handler Handler::PreviousSibling |
( |
const string & |
name |
) |
|
Gets the previous Node sibling with a specific name and wraps it with an Handler.
- Parameters:
-
| name | the Node's name to search for. |
- Returns:
- An Handler object wrapping the previous sibling with the specified name.
PairHandler Handler::FirstPair |
( |
const string & |
name |
) |
const |
Gets the first Pair with a specific key name and wraps it with an PairHandler.
- Parameters:
-
| name | the Pair's key to search for. |
- Returns:
- A PairHandler object wrapping the first Pair with the specified name.
const Node * Handler::Get |
( |
|
) |
|
Gets the actual Node pointer, if it exists.
- Returns:
- A pointer to the actual Node, NULL is returned if Node doesn't exist.
Member Data Documentation
The documentation for this class was generated from the following files: