tecplot::toolbox::ArgList Class Reference

ArgList should be used with TecUtil functions that take the ArgList_pa type. More...

#include <ArgList.h>


Public Member Functions

 ArgList () throw (OutOfMemoryException)
 Create an empty ArgList object.
virtual ~ArgList ()
virtual Boolean_t appendArbParam (std::string name, ArbParam_t value)
 Append an ArbParam_t to an argument list.
virtual Boolean_t appendArbParamPtr (std::string name, ArbParam_t *value)
 Append an ArbParam_t pointer to an argument list.
virtual Boolean_t appendArray (std::string name, const void *value)
 Append an array to an argument list.
virtual Boolean_t appendDouble (std::string name, double value)
 Append a double to an argument list.
virtual Boolean_t appendDoublePtr (std::string name, double *value)
 Append a double pointer to an argument list.
virtual Boolean_t appendFunction (std::string name, const void *function)
 Append a function to an argument list.
virtual Boolean_t appendInt (std::string name, LgIndex_t value)
 Append an integer value to an argument list.
virtual Boolean_t appendSet (std::string name, const Set &set)
 Append a set to an argument list.
virtual Boolean_t appendString (std::string name, std::string value)
 Append a string to an argument list.
virtual Boolean_t appendStringList (std::string name, const StringList &stringList)
 Append a named string list to an argument list.
virtual void clear ()
 Removes all entries in the argument list.
virtual const ArgList_pa getRef () const
 Get the ArgList_pa which is managed by this object.


Detailed Description

ArgList should be used with TecUtil functions that take the ArgList_pa type.

Constructor & Destructor Documentation

tecplot::toolbox::ArgList::ArgList (  )  throw (OutOfMemoryException)

Create an empty ArgList object.

Exceptions:
OutOfMemoryException OutOfMemoryException is thrown if the ArgList could not be allocated.

virtual tecplot::toolbox::ArgList::~ArgList (  )  [virtual]


Member Function Documentation

virtual Boolean_t tecplot::toolbox::ArgList::appendArbParam ( std::string  name,
ArbParam_t  value 
) [virtual]

Append an ArbParam_t to an argument list.

Parameters:
name Parameter name. Use the SV_constants listed with the extended function.
value ArbParam_t associated with the parameter name.
Returns:
Returns TRUE if append is successful, FALSE otherwise.

Referenced by tecplot::toolbox::StyleValue::setFinalValue().

virtual Boolean_t tecplot::toolbox::ArgList::appendArbParamPtr ( std::string  name,
ArbParam_t value 
) [virtual]

Append an ArbParam_t pointer to an argument list.

Parameters:
name Parameter name. Use the SV_constants listed with the extended function.
value ArbParam_t pointer associated with the parameter name.
Returns:
Returns TRUE if append is successful, FALSE otherwise.

Referenced by tecplot::toolbox::StyleValue::getFinalValue().

virtual Boolean_t tecplot::toolbox::ArgList::appendArray ( std::string  name,
const void *  value 
) [virtual]

Append an array to an argument list.

Parameters:
name Parameter name. Use the SV_constants listed with the extended function.
value Value associated with the parameter name.
Returns:
Returns TRUE if append is successful, FALSE otherwise.

virtual Boolean_t tecplot::toolbox::ArgList::appendDouble ( std::string  name,
double  value 
) [virtual]

Append a double to an argument list.

Parameters:
name Parameter name. Use the SV_constants listed with the extended function.
value Value associated with the parameter name.
Returns:
Returns TRUE if append is successful, FALSE otherwise.

virtual Boolean_t tecplot::toolbox::ArgList::appendDoublePtr ( std::string  name,
double *  value 
) [virtual]

Append a double pointer to an argument list.

Parameters:
name Parameter name. Use the SV_constants listed with the extended function.
value Double pointer associated with the parameter name.
Returns:
Returns TRUE if append is successful, FALSE otherwise.

virtual Boolean_t tecplot::toolbox::ArgList::appendFunction ( std::string  name,
const void *  function 
) [virtual]

Append a function to an argument list.

Parameters:
name Parameter name. Use the SV_constants listed with the extended function.
function Function pointer associated with the parameter name.
Returns:
Returns TRUE if append is successful, FALSE otherwise.

virtual Boolean_t tecplot::toolbox::ArgList::appendInt ( std::string  name,
LgIndex_t  value 
) [virtual]

Append an integer value to an argument list.

Parameters:
name Parameter name. Use the SV_constants listed with the extended function.
value Value associated with the parameter name.
Returns:
Returns TRUE if append is successful, FALSE otherwise.

virtual Boolean_t tecplot::toolbox::ArgList::appendSet ( std::string  name,
const Set set 
) [virtual]

Append a set to an argument list.

Parameters:
name Parameter name. Use the SV_constants listed with the extended function.
set Set associated with the parameter name.
Returns:
Returns TRUE if append is successful, FALSE otherwise.

virtual Boolean_t tecplot::toolbox::ArgList::appendString ( std::string  name,
std::string  value 
) [virtual]

Append a string to an argument list.

Parameters:
name Parameter name. Use the SV_constants listed with the extended function.
value String value associated with the parameter name.
Returns:
Returns TRUE if append is successful, FALSE otherwise.

virtual Boolean_t tecplot::toolbox::ArgList::appendStringList ( std::string  name,
const StringList stringList 
) [virtual]

Append a named string list to an argument list.

Parameters:
name Parameter name. Use the SV_constants listed with the extended function.
stringList String List associated with the parameter name.
Returns:
Returns TRUE if append is successful, FALSE otherwise.

virtual void tecplot::toolbox::ArgList::clear (  )  [virtual]

Removes all entries in the argument list.

Returns:
Returns a reference to the ArgList_pa type.

virtual const ArgList_pa tecplot::toolbox::ArgList::getRef (  )  const [virtual]

Get the ArgList_pa which is managed by this object.

The ArgList_pa type is used with many TecUtil functions. ArgList_pa must not be deallocated.

Returns:
Returns a reference to the ArgList_pa type.


Generated on Fri Aug 29 11:08:39 2008 for Tecplot by  doxygen 1.5.5