![]() |
Elm
2
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
|
#include <elm/io/VarExpander.h>
Inheritance diagram for OSExpander:Protected Member Functions | |
| string | resolve (string name, bool &record) override |
Additional Inherited Members | |
Public Member Functions inherited from VarExpander | |
| VarExpander () | |
| VarExpander (OutStream &out) | |
| char | escape () const |
| VarExpander & | escape (char e) |
| VarExpander & | resetBrace () |
| VarExpander & | brace (char o, char c) |
| string | expand (string s) |
| int | write (const char *buffer, int size) override |
| int | write (char byte) override |
| int | flush (void) override |
| CString | lastErrorMessage (void) override |
| bool | supportsANSI () const override |
Public Member Functions inherited from OutStream | |
| virtual | ~OutStream (void) |
Static Public Attributes inherited from OutStream | |
| static OutStream & | null = _null |
Variable expander replacing symbols by OS variables.
This function has to be overridden to provide symbol definition. The default implementation just returns the empty string.
| name | Symbol name to look for. |
| record | If set to false, the symbol will not be cached. |
Reimplemented from VarExpander.
References CString::chars(), System::getEnv(), and String::toCString().