gmsh-TingyuanDoc  0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
FieldOptionInt Class Reference

#include <Field.h>

Inheritance diagram for FieldOptionInt:
Collaboration diagram for FieldOptionInt:

Public Member Functions

FieldOptionType getType ()
 
 FieldOptionInt (int &_val, const std::string &help, bool *status=nullptr, bool deprecated=false)
 
double numericalValue () const
 
void numericalValue (double v)
 
void getTextRepresentation (std::string &v_str)
 
- Public Member Functions inherited from FieldOption
 FieldOption (const std::string &help, bool *_status, bool deprecated)
 
virtual ~FieldOption ()
 
virtual std::string getDescription ()
 
std::string getTypeName ()
 
virtual const std::list< int > & list () const
 
virtual const std::list< double > & listdouble () const
 
virtual void list (std::list< int > value)
 
virtual void listdouble (std::list< double > value)
 
virtual std::string string () const
 
virtual void string (const std::string value)
 
bool isDeprecated ()
 

Public Attributes

int & val
 

Additional Inherited Members

- Protected Member Functions inherited from FieldOption
void modified ()
 
- Protected Attributes inherited from FieldOption
bool * status
 

Detailed Description

Definition at line 312 of file Field.h.

Constructor & Destructor Documentation

◆ FieldOptionInt()

FieldOptionInt::FieldOptionInt ( int &  _val,
const std::string &  help,
bool *  status = nullptr,
bool  deprecated = false 
)
inline

Definition at line 316 of file Field.h.

Member Function Documentation

◆ getTextRepresentation()

void FieldOptionInt::getTextRepresentation ( std::string &  v_str)
inlinevirtual

Implements FieldOption.

Definition at line 327 of file Field.h.

◆ getType()

FieldOptionType FieldOptionInt::getType ( )
inlinevirtual

Implements FieldOption.

Definition at line 315 of file Field.h.

◆ numericalValue() [1/2]

double FieldOptionInt::numericalValue ( ) const
inlinevirtual

Reimplemented from FieldOption.

Definition at line 321 of file Field.h.

◆ numericalValue() [2/2]

void FieldOptionInt::numericalValue ( double  v)
inlinevirtual

Reimplemented from FieldOption.

Definition at line 322 of file Field.h.

Here is the call graph for this function:

Member Data Documentation

◆ val

int& FieldOptionInt::val

Definition at line 314 of file Field.h.

Referenced by getTextRepresentation(), and numericalValue().


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