Arguments Class Reference

#include <Arguments.h>

List of all members.

Public Member Functions

 Arguments (int argc=0, char **argv=NULL)
 ~Arguments ()
void SetApplicationFilename (const std::string &strApplicationFilename)
const std::string & GetApplicationFilename () const
const bool HasOption (const std::string &strOptionName) const
void SetOption (const std::string &strOptionName, const std::string &strOptionValue)
const std::string GetOption (const std::string &strOptionName) const

Friends

std::ostream & operator<< (std::ostream &os, const Arguments &argArguments)


Detailed Description

Utility class for accessing command-line arguments, ignores everything apart from "-<optionname> <optionvalue>

Constructor & Destructor Documentation

Arguments::Arguments ( int  argc = 0,
char **  argv = NULL 
) [inline]

Constructor

Arguments::~Arguments (  )  [inline]

Destructor


Member Function Documentation

void Arguments::SetApplicationFilename ( const std::string &  strApplicationFilename  )  [inline]

Sets the application Filename

const std::string& Arguments::GetApplicationFilename (  )  const [inline]

get the application Filename

const bool Arguments::HasOption ( const std::string &  strOptionName  )  const [inline]

Returns true if the expected option is available

Returns:
const boolean.

void Arguments::SetOption ( const std::string &  strOptionName,
const std::string &  strOptionValue 
) [inline]

Sets an option

const std::string Arguments::GetOption ( const std::string &  strOptionName  )  const [inline]

Get an option


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const Arguments argArguments 
) [friend]

Stream Operator

Operator for streams


The documentation for this class was generated from the following file:
Generated on Sun Jan 20 12:10:07 2008 for FlowVis by  doxygen 1.5.4