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

#include <Field.h>

Inheritance diagram for FieldOptionString:
Collaboration diagram for FieldOptionString:

Public Member Functions

virtual FieldOptionType getType ()
 
 FieldOptionString (std::string &_val, const std::string &help, bool *status=nullptr, bool deprecated=false)
 
void string (const std::string value)
 
std::string string () const
 
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 void numericalValue (double val)
 
virtual double numericalValue () const
 
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)
 
bool isDeprecated ()
 

Public Attributes

std::string & val
 

Additional Inherited Members

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

Detailed Description

Definition at line 265 of file Field.h.

Constructor & Destructor Documentation

◆ FieldOptionString()

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

Definition at line 269 of file Field.h.

Member Function Documentation

◆ getTextRepresentation()

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

Implements FieldOption.

Definition at line 280 of file Field.h.

◆ getType()

virtual FieldOptionType FieldOptionString::getType ( )
inlinevirtual

Implements FieldOption.

Reimplemented in FieldOptionPath.

Definition at line 268 of file Field.h.

◆ string() [1/2]

std::string FieldOptionString::string ( ) const
inlinevirtual

Reimplemented from FieldOption.

Definition at line 279 of file Field.h.

◆ string() [2/2]

void FieldOptionString::string ( const std::string  value)
inlinevirtual

Reimplemented from FieldOption.

Definition at line 274 of file Field.h.

Here is the call graph for this function:

Member Data Documentation

◆ val

std::string& FieldOptionString::val

Definition at line 267 of file Field.h.

Referenced by getTextRepresentation(), and string().


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