Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

dolfin::Parameter Class Reference

#include <Parameter.h>

List of all members.

Public Types

enum  Type {
  REAL, INT, BOOL, STRING,
  FUNCTION, VFUNCTION, BCFUNCTION, NONE
}

Public Member Functions

 Parameter ()
 Parameter (Type type, const char *identifier, va_list aptr)
 ~Parameter ()
void clear ()
void set (Type type, const char *identifier, va_list aptr)
void set (const char *identifier, va_list aptr)
void get (va_list aptr)
bool matches (const char *identifier)
bool matches (string identifier)
bool changed ()
void operator= (const Parameter &p)
void operator= (int zero)
bool operator! () const
 operator real () const
 operator int () const
 operator unsigned int () const
 operator bool () const
 operator string () const
 operator const char * () const
 operator function () const
 operator vfunction () const
 operator bcfunction () const

Friends

class XMLFile
LogStream & dolfin::operator<< (LogStream &stream, const Parameter &p)


Member Enumeration Documentation

enum dolfin::Parameter::Type
 

Enumeration values:
REAL 
INT 
BOOL 
STRING 
FUNCTION 
VFUNCTION 
BCFUNCTION 
NONE 


Constructor & Destructor Documentation

Parameter::Parameter (   ) 
 

Parameter::Parameter (  Type  type,
const char *  identifier,
va_list  aptr
) 
 

Parameter::~Parameter (   ) 
 


Member Function Documentation

bool Parameter::changed (   ) 
 

void Parameter::clear (   ) 
 

void Parameter::get (  va_list  aptr  ) 
 

bool Parameter::matches (  string  identifier  ) 
 

bool Parameter::matches (  const char *  identifier  ) 
 

Parameter::operator bcfunction (   )  const
 

Parameter::operator bool (   )  const
 

Parameter::operator const char * (   )  const
 

Parameter::operator function (   )  const
 

Parameter::operator int (   )  const
 

Parameter::operator real (   )  const
 

Parameter::operator string (   )  const
 

Parameter::operator unsigned int (   )  const
 

Parameter::operator vfunction (   )  const
 

bool Parameter::operator! (   )  const
 

void Parameter::operator= (  int  zero  ) 
 

void Parameter::operator= (  const Parameter &  p  ) 
 

void Parameter::set (  const char *  identifier,
va_list  aptr
) 
 

void Parameter::set (  Type  type,
const char *  identifier,
va_list  aptr
) 
 


Friends And Related Function Documentation

LogStream& dolfin::operator<< (  LogStream &  stream,
const Parameter &  p
)  [friend]
 

friend class XMLFile [friend]
 


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


Documentation automatically generated with Doxygen on 10 Sep 2004.