NetworkGraphBuilder Class Reference

Gives GraphBuilder a few extra methods that would be needed for network communications. More...

#include <NetworkGraphBuilder.h>

Inheritance diagram for NetworkGraphBuilder:

GraphBuilder

List of all members.

Public Member Functions

virtual StringPimpl getProperty (const StringPimpl &key) const =0 throw (Exception &)
 Retrieves the string value of a given key.
virtual int getPropertyAsInt (const StringPimpl &key) const =0 throw (Exception &)
 Retrieves the integer value of a given key.
virtual int getPropertyAsIntWithDefault (const StringPimpl &key, int value) const =0 throw (Exception &)
 Retrieves the integer of a given key but will return a default integer if that key doesn't exist.
virtual StringPimpl getPropertyWithDefault (const StringPimpl &key, const StringPimpl &value) const =0 throw (Exception &)
 Retrieves the value of a given key but will return a default if that key doesn't exist.
virtual ~NetworkGraphBuilder ()
 Empty virtual destructor.


Detailed Description

Gives GraphBuilder a few extra methods that would be needed for network communications.

Constructor & Destructor Documentation

virtual ~NetworkGraphBuilder (  )  [inline, virtual]

Empty virtual destructor.


Member Function Documentation

virtual StringPimpl getProperty ( const StringPimpl key  )  const throw (Exception &) [pure virtual]

Retrieves the string value of a given key.

Parameters:
key The key to get the string value of.
Returns:
The string value of the given key.
Exceptions:
Exception If an underlying method throws an exception, it will be wrapped and thrown as a Exception.

virtual int getPropertyAsInt ( const StringPimpl key  )  const throw (Exception &) [pure virtual]

Retrieves the integer value of a given key.

Parameters:
key The key to get the integer value of.
Returns:
The integer value of the given key.
Exceptions:
Exception If an underlying method throws an exception, it will be wrapped and thrown as a Exception.

virtual int getPropertyAsIntWithDefault ( const StringPimpl key,
int  value 
) const throw (Exception &) [pure virtual]

Retrieves the integer of a given key but will return a default integer if that key doesn't exist.

Parameters:
key The key to get the integer value of
value The default integer value to return if the key doesn't exist
Returns:
The integer value of the given key or the default integer value if the key doesn't exist
Exceptions:
Exception If an underlying method throws an exception, it will be wrapped and thrown as a Exception.

virtual StringPimpl getPropertyWithDefault ( const StringPimpl key,
const StringPimpl value 
) const throw (Exception &) [pure virtual]

Retrieves the value of a given key but will return a default if that key doesn't exist.

Parameters:
key The key to get the value of
value The default value to return if the key doesn't exist
Returns:
The string value of the given key or the default value if the key doesn't exist
Exceptions:
Exception If an underlying method throws an exception, it will be wrapped and thrown as a Exception.


The documentation for this class was generated from the following file:
Generated on Mon Aug 27 12:27:00 2007 for RebeccaAIML by  doxygen 1.5.3