|
JG ROOT Tools libraries
version 5.0 - august 2014
|
#include <RString.hh>
Public Member Functions | |
| RString () | |
| RString (const string &s) | |
| RString (const char *s) | |
| RString (const RString &s) | |
| virtual | ~RString () |
| RString & | operator= (const RString &s) |
| RString & | operator= (const string &s) |
| RString & | operator= (const char *s) |
| Color_t | ReadColor (const Color_t default_val=0) const |
| Color_t | ReadSubColor (size_t &ifirst, size_t &ilast, const size_t index=0, const Color_t default_val=0, const string &separ=GSTRING_DEFAULT_SPACE) const |
| ClassDef (RString, 0) | |
Private Member Functions | |
| GObject (RString) | |
Class defining new functions for the Gtring class.
|
inline |
Default constructor: empty string.
Referenced by operator=().
|
inline |
Constructor that copies a C++ string.
| s | string to copy |
|
inline |
Constructor that copies a C-like string.
| s | C string |
|
inline |
Copy constructor.
| s | string to copy |
|
inlinevirtual |
Destructor.
|
private |
Macro from GCpp library that defines the following functions:
Affectation operator.
| s | string to copy |
|
inline |
Affectation operator of a C++ string.
| s | string to copy |
|
inline |
|
inline |
Read a ROOT color code in a string, either as an integer color code, either as a #RRGGBB code, where RR, GG and BB are the hexadecimal values for color components.
| default_val | default value in case of error |
References RGetColor().
| Color_t RString::ReadSubColor | ( | size_t & | ifirst, |
| size_t & | ilast, | ||
| const size_t | index = 0, |
||
| const Color_t | default_val = 0, |
||
| const string & | separ = GSTRING_DEFAULT_SPACE |
||
| ) | const |
Read a ROOT color code in a word extracted from a string, either as an integer color code, either as a #RRGGBB code, where RR, GG and BB are the hexadecimal values for color components.
| default_val | default value in case of error |
| ifirst | position of the first character of the color code (output) |
| ilast | position of the last character of the color code (output) |
| index | read start position |
| default_val | default value in case of error |
| separ | string containing separation characters |
References RGetColor().
| RString::ClassDef | ( | RString | , |
| 0 | |||
| ) |
For ROOT dictionary.