ProtoMol - an object-oriented component based framework for Molecular Dynamics simulations.

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

ProtoMol::Value::PlaceHolder Class Reference

Inheritance diagram for ProtoMol::Value::PlaceHolder:

ProtoMol::Value::Holder< ValueTrait, Constraint > List of all members.

Public Member Functions

virtual ~PlaceHolder ()
virtual const std::type_info & type () const=0
virtual PlaceHolderclone () const=0
virtual bool valid () const=0
virtual bool clear ()=0
virtual bool init ()=0
virtual unsigned int size () const=0
virtual void read (std::istream &is)=0
virtual ValueType::Enum getType () const=0
virtual ConstraintValueType::Enum getConstraintType () const=0
virtual const std::string & getConstraintTypeString () const=0
virtual const std::string & getTypeString () const=0
virtual bool get (std::string &v) const=0
virtual bool get (int &v) const=0
virtual bool get (unsigned int &v) const=0
virtual bool get (Real &v) const=0
virtual bool get (bool &v) const=0
virtual bool get (Vector3D &v) const=0
virtual bool get (std::vector< Real > &v) const=0
bool set (const char *v)
virtual bool set (const std::string &v)=0
virtual bool set (int v)=0
virtual bool set (unsigned int v)=0
virtual bool set (Real v)=0
virtual bool set (bool v)=0
virtual bool set (const Vector3D &v)=0
virtual bool set (const std::vector< Real > &v)=0
virtual bool set (const Value &val)=0

Detailed Description

Abstract class of the place holder


Constructor & Destructor Documentation

virtual ProtoMol::Value::PlaceHolder::~PlaceHolder  )  [inline, virtual]
 


Member Function Documentation

virtual bool ProtoMol::Value::PlaceHolder::clear  )  [pure virtual]
 

Makes the value non-valid/cleared and returns previous state of valid.

Implemented in ProtoMol::Value::Holder< ValueTrait, Constraint >.

virtual PlaceHolder* ProtoMol::Value::PlaceHolder::clone  )  const [pure virtual]
 

Clones the value.

Implemented in ProtoMol::Value::Holder< ValueTrait, Constraint >.

virtual bool ProtoMol::Value::PlaceHolder::get std::vector< Real > &  v  )  const [pure virtual]
 

Implemented in ProtoMol::Value::Holder< ValueTrait, Constraint >.

virtual bool ProtoMol::Value::PlaceHolder::get Vector3D v  )  const [pure virtual]
 

Implemented in ProtoMol::Value::Holder< ValueTrait, Constraint >.

virtual bool ProtoMol::Value::PlaceHolder::get bool &  v  )  const [pure virtual]
 

Implemented in ProtoMol::Value::Holder< ValueTrait, Constraint >.

virtual bool ProtoMol::Value::PlaceHolder::get Real v  )  const [pure virtual]
 

Implemented in ProtoMol::Value::Holder< ValueTrait, Constraint >.

virtual bool ProtoMol::Value::PlaceHolder::get unsigned int &  v  )  const [pure virtual]
 

Implemented in ProtoMol::Value::Holder< ValueTrait, Constraint >.

virtual bool ProtoMol::Value::PlaceHolder::get int &  v  )  const [pure virtual]
 

Implemented in ProtoMol::Value::Holder< ValueTrait, Constraint >.

virtual bool ProtoMol::Value::PlaceHolder::get std::string &  v  )  const [pure virtual]
 

Implemented in ProtoMol::Value::Holder< ValueTrait, Constraint >.

virtual ConstraintValueType::Enum ProtoMol::Value::PlaceHolder::getConstraintType  )  const [pure virtual]
 

Returns the type of the constraint.

Implemented in ProtoMol::Value::Holder< ValueTrait, Constraint >.

virtual const std::string& ProtoMol::Value::PlaceHolder::getConstraintTypeString  )  const [pure virtual]
 

Returns the type as a string.

Implemented in ProtoMol::Value::Holder< ValueTrait, Constraint >.

virtual ValueType::Enum ProtoMol::Value::PlaceHolder::getType  )  const [pure virtual]
 

Returns the type.

Implemented in ProtoMol::Value::Holder< ValueTrait, Constraint >.

virtual const std::string& ProtoMol::Value::PlaceHolder::getTypeString  )  const [pure virtual]
 

Return the type of the constraint as a string.

Implemented in ProtoMol::Value::Holder< ValueTrait, Constraint >.

virtual bool ProtoMol::Value::PlaceHolder::init  )  [pure virtual]
 

Initialized the value with the default value of its representation type and applying its constraints.

Implemented in ProtoMol::Value::Holder< ValueTrait, Constraint >.

virtual void ProtoMol::Value::PlaceHolder::read std::istream &  is  )  [pure virtual]
 

Reads the value from std::istream according its type.

Implemented in ProtoMol::Value::Holder< ValueTrait, Constraint >.

virtual bool ProtoMol::Value::PlaceHolder::set const Value val  )  [pure virtual]
 

Implemented in ProtoMol::Value::Holder< ValueTrait, Constraint >.

virtual bool ProtoMol::Value::PlaceHolder::set const std::vector< Real > &  v  )  [pure virtual]
 

Implemented in ProtoMol::Value::Holder< ValueTrait, Constraint >.

virtual bool ProtoMol::Value::PlaceHolder::set const Vector3D v  )  [pure virtual]
 

Implemented in ProtoMol::Value::Holder< ValueTrait, Constraint >.

virtual bool ProtoMol::Value::PlaceHolder::set bool  v  )  [pure virtual]
 

Implemented in ProtoMol::Value::Holder< ValueTrait, Constraint >.

virtual bool ProtoMol::Value::PlaceHolder::set Real  v  )  [pure virtual]
 

Implemented in ProtoMol::Value::Holder< ValueTrait, Constraint >.

virtual bool ProtoMol::Value::PlaceHolder::set unsigned int  v  )  [pure virtual]
 

Implemented in ProtoMol::Value::Holder< ValueTrait, Constraint >.

virtual bool ProtoMol::Value::PlaceHolder::set int  v  )  [pure virtual]
 

Implemented in ProtoMol::Value::Holder< ValueTrait, Constraint >.

virtual bool ProtoMol::Value::PlaceHolder::set const std::string &  v  )  [pure virtual]
 

Implemented in ProtoMol::Value::Holder< ValueTrait, Constraint >.

bool ProtoMol::Value::PlaceHolder::set const char *  v  )  [inline]
 

virtual unsigned int ProtoMol::Value::PlaceHolder::size  )  const [pure virtual]
 

Returns the number of elements, non-1 for string, Vector3D, vector.

Implemented in ProtoMol::Value::Holder< ValueTrait, Constraint >.

virtual const std::type_info& ProtoMol::Value::PlaceHolder::type  )  const [pure virtual]
 

Returns the std::type_info of the value.

Implemented in ProtoMol::Value::Holder< ValueTrait, Constraint >.

virtual bool ProtoMol::Value::PlaceHolder::valid  )  const [pure virtual]
 

True if the value is valid and has a type.

Implemented in ProtoMol::Value::Holder< ValueTrait, Constraint >.


The documentation for this class was generated from the following file: Last update: . GNU GENERAL PUBLIC LICENSE, copyrighted by the University of Notre Dame and the University of Bergen, Norway.