Psi4
Public Member Functions | Private Attributes | List of all members
psi::DoubleDataType Class Reference

#include <liboptions.h>

Inheritance diagram for psi::DoubleDataType:
psi::DataType

Public Member Functions

 DoubleDataType ()
 
 DoubleDataType (double d)
 
virtual ~DoubleDataType ()
 
virtual std::string type () const
 
virtual std::string to_string () const
 
virtual int to_integer () const
 
virtual double to_double () const
 
virtual void assign (bool b)
 
virtual void assign (int i)
 
virtual void assign (double d)
 
virtual void assign (std::string s)
 
- Public Member Functions inherited from psi::DataType
 DataType ()
 
virtual ~DataType ()
 
bool has_changed () const
 
void changed ()
 
void dechanged ()
 
void to_upper (std::string &str)
 
virtual void add_choices (std::string str)
 
virtual bool is_array () const
 
virtual size_t size () const
 
virtual void add (DataType *)
 
virtual void add (std::string, DataType *)
 
virtual void add (bool)
 
virtual void add (int)
 
virtual void add (double)
 
virtual void add (std::string, bool)
 
virtual void add (std::string, std::string)
 
virtual void add (std::string, int)
 
virtual void add (std::string, double)
 
virtual void add (std::string, std::string, std::string)
 
virtual bool exists (std::string)
 
virtual void assign (DataType *)
 
virtual void reset ()
 
virtual Dataoperator[] (std::string)
 
virtual Dataoperator[] (size_t)
 

Private Attributes

double double_
 

Constructor & Destructor Documentation

psi::DoubleDataType::DoubleDataType ( )
psi::DoubleDataType::DoubleDataType ( double  d)
psi::DoubleDataType::~DoubleDataType ( )
virtual

Member Function Documentation

void psi::DoubleDataType::assign ( bool  b)
virtual

Reimplemented from psi::DataType.

void psi::DoubleDataType::assign ( int  i)
virtual

Reimplemented from psi::DataType.

void psi::DoubleDataType::assign ( double  d)
virtual

Reimplemented from psi::DataType.

void psi::DoubleDataType::assign ( std::string  s)
virtual

Reimplemented from psi::DataType.

double psi::DoubleDataType::to_double ( ) const
virtual

Reimplemented from psi::DataType.

int psi::DoubleDataType::to_integer ( ) const
virtual

Reimplemented from psi::DataType.

std::string psi::DoubleDataType::to_string ( ) const
virtual

Reimplemented from psi::DataType.

std::string psi::DoubleDataType::type ( ) const
virtual

Reimplemented from psi::DataType.

Member Data Documentation

double psi::DoubleDataType::double_
private

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