#include <jdxtypes.h>

Public Member Functions | |
| JDXstring () | |
| JDXstring (const STD_string &ss, const STD_string &name="", bool userParameter=true, compatMode mode=notBroken, parameterMode parameter_mode=edit, const STD_string &parx_equivalent="") | |
| JDXstring (int i, const char c=' ') | |
| JDXstring (const char *charptr) | |
| JDXstring (const JDXstring &str) | |
| JDXstring & | operator= (const STD_string &ss) |
| JDXstring & | operator= (const char *charptr) |
| JDXstring & | operator= (const JDXstring &ss) |
| bool | parsevalstring (const STD_string &parstring) |
| STD_string | printvalstring () const |
| STD_string | get_parx_code (parxCodeType type, const ParxEquiv &equiv) const |
| ParxEquiv | get_parx_equiv () const |
| const char * | get_typeInfo () const |
| JcampDxClass * | create_copy () const |
Friends | |
| STD_ostream & | operator<< (STD_ostream &s, const JDXstring &t) |
Definition at line 36 of file jdxtypes.h.
| JDXstring::JDXstring | ( | ) | [inline] |
Default constructor
Definition at line 43 of file jdxtypes.h.
| JDXstring::JDXstring | ( | const STD_string & | ss, | |
| const STD_string & | name = "", |
|||
| bool | userParameter = true, |
|||
| compatMode | mode = notBroken, |
|||
| parameterMode | parameter_mode = edit, |
|||
| const STD_string & | parx_equivalent = "" | |||
| ) |
Constructor with the following arguments:
| JDXstring::JDXstring | ( | int | i, | |
| const char | c = ' ' | |||
| ) | [inline] |
Constructs a string of length i with c as their initial content
Definition at line 62 of file jdxtypes.h.
| JDXstring::JDXstring | ( | const char * | charptr | ) | [inline] |
Copy constructor from a C-string
Definition at line 67 of file jdxtypes.h.
| JDXstring::JDXstring | ( | const JDXstring & | str | ) | [inline] |
Copy constructor
Definition at line 72 of file jdxtypes.h.
| JDXstring& JDXstring::operator= | ( | const STD_string & | ss | ) | [inline] |
Assigns the string ss to the parameter
Reimplemented in JDXfileName, and JDXformula.
Definition at line 77 of file jdxtypes.h.
| JDXstring& JDXstring::operator= | ( | const char * | charptr | ) | [inline] |
Assigns the C-string charptr to the parameter
Definition at line 82 of file jdxtypes.h.
| bool JDXstring::parsevalstring | ( | const STD_string & | ) | [virtual] |
Parses and assigns the value in the given string
Implements JcampDxClass.
Reimplemented in JDXfileName.
| STD_string JDXstring::printvalstring | ( | ) | const [virtual] |
Returns the value of the parameter as a string
Implements JcampDxClass.
| STD_string JDXstring::get_parx_code | ( | parxCodeType | type, | |
| const ParxEquiv & | equiv | |||
| ) | const [virtual] |
Returns C code that can be used together with the PARX(Bruker) compiler.
Reimplemented from JcampDxClass.
| ParxEquiv JDXstring::get_parx_equiv | ( | ) | const [inline, virtual] |
Returns the name and scaling of an equivalent parameter in PARX. Code for automatic mapping to the PARX parameter space can be generated using the function get_parx_code().
Reimplemented from JcampDxClass.
Definition at line 99 of file jdxtypes.h.
| const char* JDXstring::get_typeInfo | ( | ) | const [inline, virtual] |
Returns a string describing the type of the parameter
Implements JcampDxClass.
Reimplemented in JDXfileName, and JDXformula.
Definition at line 100 of file jdxtypes.h.
| JcampDxClass* JDXstring::create_copy | ( | ) | const [inline, virtual] |
Returns a deep copy of the parameter
Implements JcampDxClass.
Reimplemented in JDXfileName, and JDXformula.
Definition at line 101 of file jdxtypes.h.
| STD_ostream& operator<< | ( | STD_ostream & | s, | |
| const JDXstring & | t | |||
| ) | [friend] |
Final overrider for stream output
Definition at line 92 of file jdxtypes.h.
1.5.6