Whiteboard
An interface and tools for visualizing large and complex datasets
Public Member Functions | Private Attributes | Friends | List of all members
commandArg< argType > Class Template Reference

#include <CommandLineParser.h>

Public Member Functions

 commandArg ()
 
 commandArg (string name, string descrip)
 
 commandArg (string name, string descrip, argType T)
 
void SetValue (argType &T)
 
void SetDefault (argType &T)
 
void SetDescription (string d)
 
bool HasDefault ()
 
bool HasValue ()
 
argType GetValue ()
 
string GetName ()
 
string GetDescription ()
 
string GetType ()
 

Private Attributes

string mName
 
string mDesc
 
argType mValue
 
bool mHasDefault
 
bool mHasValue
 

Friends

bool operator< (const commandArg< argType > &lhs, const commandArg< argType > &rhs)
 

Constructor & Destructor Documentation

template<typename argType>
commandArg< argType >::commandArg ( )
inline
template<typename argType>
commandArg< argType >::commandArg ( string  name,
string  descrip 
)
inline
template<typename argType>
commandArg< argType >::commandArg ( string  name,
string  descrip,
argType  T 
)
inline

Member Function Documentation

template<typename argType>
string commandArg< argType >::GetDescription ( )
inline
template<typename argType>
string commandArg< argType >::GetName ( )
inline
template<typename argType>
string commandArg< argType >::GetType ( )
inline
template<typename argType>
argType commandArg< argType >::GetValue ( )
inline
template<typename argType>
bool commandArg< argType >::HasDefault ( )
inline
template<typename argType>
bool commandArg< argType >::HasValue ( )
inline
template<typename argType>
void commandArg< argType >::SetDefault ( argType &  T)
inline
template<typename argType>
void commandArg< argType >::SetDescription ( string  d)
inline
template<typename argType>
void commandArg< argType >::SetValue ( argType &  T)
inline

Friends And Related Function Documentation

template<typename argType>
bool operator< ( const commandArg< argType > &  lhs,
const commandArg< argType > &  rhs 
)
friend

Member Data Documentation

template<typename argType>
string commandArg< argType >::mDesc
private
template<typename argType>
bool commandArg< argType >::mHasDefault
private
template<typename argType>
bool commandArg< argType >::mHasValue
private
template<typename argType>
string commandArg< argType >::mName
private
template<typename argType>
argType commandArg< argType >::mValue
private

The documentation for this class was generated from the following file: