gmsh-TingyuanDoc
0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
|
#include <onelab.h>
Public Member Functions | |
parameter (const std::string &name="", const std::string &label="", const std::string &help="") | |
virtual | ~parameter () |
void | setName (const std::string &name) |
void | setLabel (const std::string &label) |
void | setHelp (const std::string &help) |
void | setChanged (int changed, const std::string &client="") |
void | setChangedValue (int value) |
void | setNeverChanged (bool never) |
void | setVisible (bool visible) |
void | setReadOnly (bool readOnly) |
void | setAttribute (const std::string &key, const std::string &value) |
void | setAttributes (const std::map< std::string, std::string > &attributes) |
void | setClients (const std::map< std::string, int > &clients) |
void | addClient (const std::string &client, int changed) |
void | addClients (const std::map< std::string, int > &clients) |
bool | hasClient (const std::string &client) |
int | getNumClients () |
virtual std::string | getType () const =0 |
const std::string & | getName () const |
const std::string & | getLabel () const |
const std::string & | getHelp () const |
std::string | getPath () const |
std::string | getShortName () const |
int | getChanged (const std::string &client="") const |
int | getChangedValue () const |
bool | getNeverChanged () const |
bool | getVisible () const |
bool | getReadOnly () const |
std::string | getAttribute (const std::string &key) const |
const std::map< std::string, std::string > & | getAttributes () const |
const std::map< std::string, int > & | getClients () const |
std::string | sanitize (const std::string &in) const |
virtual std::string | toChar () const |
virtual std::string::size_type | fromChar (const std::string &msg) |
std::string | sanitizeJSON (const std::string &in) const |
virtual std::string | toJSON () const |
virtual bool | fromJSON (const picojson::value::object &par) |
Static Public Member Functions | |
static char | charSep () |
static double | maxNumber () |
static std::string | version () |
static int | defaultChangedValue () |
static std::string | getNextToken (const std::string &msg, std::string::size_type &first, char separator=charSep()) |
static std::vector< std::string > | split (const std::string &msg, char separator=charSep()) |
static std::string | trim (const std::string &str, const std::string &whitespace=" \t\n") |
static void | getInfoFromChar (const std::string &msg, std::string &version, std::string &type, std::string &name) |
static bool | fromFile (std::vector< std::string > &msg, FILE *fp) |
static bool | toFile (const std::vector< std::string > &msg, FILE *fp, const std::string &creator) |
Protected Attributes | |
std::map< std::string, std::string > | _attributes |
Private Attributes | |
std::string | _name |
std::string | _label |
std::string | _help |
std::map< std::string, int > | _clients |
int | _changedValue |
bool | _visible |
bool | _readOnly |
|
inline |
|
inline |
Definition at line 123 of file onelab.h.
Referenced by fromChar(), and fromJSON().
|
inline |
Definition at line 127 of file onelab.h.
Referenced by onelab::number::update(), and onelab::string::update().
|
inlinestatic |
Definition at line 203 of file onelab.h.
Referenced by onelab::remoteNetworkClient::runNonBlockingSubClient(), sanitize(), toChar(), onelab::number::toChar(), and onelab::string::toChar().
|
inlinestatic |
Definition at line 206 of file onelab.h.
Referenced by onelab::parameterSpace::_get(), onelab::parameterSpace::_getPtr(), onelab::parameterSpace::_set(), parameter(), and setNeverChanged().
|
inlinevirtual |
Reimplemented in onelab::string, and onelab::number.
Definition at line 271 of file onelab.h.
Referenced by onelab::number::fromChar(), and onelab::string::fromChar().
|
inlinestatic |
Definition at line 303 of file onelab.h.
Referenced by onelab::client::fromFile(), and onelab::server::fromFile().
|
inlinevirtual |
Reimplemented in onelab::string, and onelab::number.
Definition at line 369 of file onelab.h.
Referenced by onelab::number::fromJSON(), and onelab::string::fromJSON().
|
inline |
Definition at line 192 of file onelab.h.
Referenced by getShortName().
|
inline |
Definition at line 198 of file onelab.h.
Referenced by onelab::number::update(), and onelab::string::update().
|
inline |
|
inline |
Definition at line 188 of file onelab.h.
Referenced by toChar(), toJSON(), onelab::number::update(), and onelab::string::update().
|
inline |
Definition at line 202 of file onelab.h.
Referenced by toChar(), toJSON(), onelab::number::update(), and onelab::string::update().
|
inline |
Definition at line 139 of file onelab.h.
Referenced by toChar(), toJSON(), onelab::number::update(), and onelab::string::update().
|
inlinestatic |
Definition at line 295 of file onelab.h.
Referenced by onelab::parameterSpace::fromChar(), and onelab::client::fromChar().
|
inline |
Definition at line 138 of file onelab.h.
Referenced by toChar(), toJSON(), onelab::number::update(), and onelab::string::update().
|
inline |
Definition at line 137 of file onelab.h.
Referenced by onelab::parameterLessThan::operator()(), toChar(), and toJSON().
|
inline |
Definition at line 189 of file onelab.h.
Referenced by onelab::number::update(), and onelab::string::update().
|
inlinestatic |
Definition at line 207 of file onelab.h.
Referenced by fromChar(), onelab::number::fromChar(), onelab::string::fromChar(), getInfoFromChar(), and split().
|
inline |
Definition at line 191 of file onelab.h.
Referenced by toChar(), toJSON(), onelab::number::update(), and onelab::string::update().
|
inline |
|
pure virtual |
Implemented in onelab::string, and onelab::number.
Referenced by fromChar(), toChar(), and toJSON().
|
inline |
Definition at line 190 of file onelab.h.
Referenced by toChar(), toJSON(), onelab::number::update(), and onelab::string::update().
|
inline |
|
inlinestatic |
Definition at line 204 of file onelab.h.
Referenced by Msg::ExchangeOnelabParameter().
|
inline |
Definition at line 246 of file onelab.h.
Referenced by toChar(), onelab::number::toChar(), and onelab::string::toChar().
|
inline |
Definition at line 332 of file onelab.h.
Referenced by toJSON(), onelab::number::toJSON(), and onelab::string::toJSON().
|
inline |
Definition at line 111 of file onelab.h.
Referenced by fromChar(), fromJSON(), and Msg::ImportPhysicalGroupsInOnelab().
|
inline |
Definition at line 115 of file onelab.h.
Referenced by onelab::number::update(), and onelab::string::update().
|
inline |
Definition at line 93 of file onelab.h.
Referenced by onelab::number::update(), and onelab::string::update().
|
inline |
Definition at line 104 of file onelab.h.
Referenced by fromChar(), fromJSON(), Msg::ImportPhysicalGroupsInOnelab(), and Msg::SetOnelabAction().
|
inline |
|
inline |
Definition at line 92 of file onelab.h.
Referenced by fromChar(), fromJSON(), onelab::number::update(), and onelab::string::update().
|
inline |
Definition at line 91 of file onelab.h.
Referenced by fromChar(), fromJSON(), onelab::number::update(), and onelab::string::update().
|
inline |
Definition at line 90 of file onelab.h.
Referenced by fromChar(), and fromJSON().
|
inline |
|
inline |
Definition at line 110 of file onelab.h.
Referenced by fromChar(), fromJSON(), Msg::ImportPhysicalGroupsInOnelab(), onelab::number::update(), and onelab::string::update().
|
inline |
Definition at line 109 of file onelab.h.
Referenced by fromChar(), fromJSON(), Msg::ImportPhysicalGroupsInOnelab(), Msg::SetOnelabAction(), Msg::SetOnelabNumber(), onelab::number::update(), and onelab::string::update().
|
inlinestatic |
|
inlinevirtual |
Reimplemented in onelab::string, and onelab::number.
Definition at line 253 of file onelab.h.
Referenced by onelab::number::toChar(), and onelab::string::toChar().
|
inlinestatic |
Definition at line 318 of file onelab.h.
Referenced by onelab::client::toFile(), and onelab::server::toFile().
|
inlinevirtual |
Reimplemented in onelab::string, and onelab::number.
Definition at line 337 of file onelab.h.
Referenced by onelab::number::toJSON(), and onelab::string::toJSON().
|
inlinestatic |
|
inlinestatic |
Definition at line 205 of file onelab.h.
Referenced by fromChar(), onelab::parameterSpace::fromChar(), onelab::client::fromChar(), onelab::parameterSpace::fromJSON(), getInfoFromChar(), toChar(), and onelab::parameterSpace::toJSON().
|
protected |
Definition at line 79 of file onelab.h.
Referenced by getAttribute(), getAttributes(), setAttribute(), setAttributes(), toChar(), and toJSON().
|
private |
Definition at line 71 of file onelab.h.
Referenced by getChangedValue(), getNeverChanged(), parameter(), setChangedValue(), and setNeverChanged().
|
private |
Definition at line 67 of file onelab.h.
Referenced by addClient(), addClients(), getChanged(), getClients(), getNumClients(), hasClient(), setChanged(), and setClients().
|
private |
|
private |
Definition at line 58 of file onelab.h.
Referenced by getLabel(), getShortName(), and setLabel().
|
private |
|
private |
Definition at line 75 of file onelab.h.
Referenced by getReadOnly(), and setReadOnly().
|
private |
Definition at line 73 of file onelab.h.
Referenced by getVisible(), and setVisible().