|
Elm
2
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
|
21 #ifndef ELM_IO_VAREXPANDER_H_
22 #define ELM_IO_VAREXPANDER_H_
24 #include <elm/string.h>
25 #include <elm/io/OutStream.h>
26 #include <elm/avl/Map.h>
28 namespace elm {
namespace io {
34 inline char escape()
const {
return esc; }
38 { open = open + o; close = close + c;
return *
this; }
42 int write(
const char *buffer,
int size)
override;
43 int write(
char byte)
override;
44 int flush(
void)
override;
49 virtual string resolve(
string name,
bool& record);
67 string resolve(
string name,
bool& record)
override;
CString lastErrorMessage(void) override
Definition: io_VarExpander.cpp:198
bool supportsANSI() const override
Definition: io_VarExpander.cpp:203
Definition: StringBuffer.h:18
sys::SystemOutStream & out
Definition: system_SystemIO.cpp:122
string expand(string s)
Definition: io_VarExpander.cpp:111
string resolve(string name, bool &record) override
Definition: io_VarExpander.cpp:226
string expandOSVars(string t)
Definition: io_VarExpander.cpp:237
int flush(void) override
Definition: io_VarExpander.cpp:193
char escape() const
Definition: VarExpander.h:34
VarExpander()
Definition: io_VarExpander.cpp:66
VarExpander & resetBrace()
Definition: VarExpander.h:36
int write(const char *buffer, int size) override
Definition: io_VarExpander.cpp:122
uint64 size
Definition: arch.h:35
Definition: OutStream.h:30
VarExpander & brace(char o, char c)
Definition: VarExpander.h:37
virtual string resolve(string name, bool &record)
Definition: io_VarExpander.cpp:214
VarExpander & escape(char e)
Definition: VarExpander.h:35
Definition: VarExpander.h:30
Definition: VarExpander.h:65