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

#include <liboptions.h>

Inheritance diagram for psi::IntDataType:
psi::DataType

Public Member Functions

 IntDataType ()
 
 IntDataType (int i)
 
virtual ~IntDataType ()
 
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 unsigned int 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 py::list to_list () const
 
virtual void assign (DataType *)
 
virtual void reset ()
 
virtual Dataoperator[] (std::string)
 
virtual Dataoperator[] (unsigned int)
 

Private Attributes

int integer_
 

Constructor & Destructor Documentation

psi::IntDataType::IntDataType ( )
psi::IntDataType::IntDataType ( int  i)
psi::IntDataType::~IntDataType ( )
virtual

Member Function Documentation

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

Reimplemented from psi::DataType.

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

Reimplemented from psi::DataType.

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

Reimplemented from psi::DataType.

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

Reimplemented from psi::DataType.

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

Reimplemented from psi::DataType.

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

Reimplemented from psi::DataType.

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

Reimplemented from psi::DataType.

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

Reimplemented from psi::DataType.

Member Data Documentation

int psi::IntDataType::integer_
private

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