|
OOFEM 3.0
|
Public Member Functions | |
| Tokens (const std::string &attr_, XMLInputRecord *rec, const char *sep_regex="\\s+") | |
| Tokens (const std::string &attr_, const std::string &str_, std::function< std::string()> loc_, const char *sep_regex="\\s+") | |
| void | _makeToks (const char *sep_regex) |
| size_t | size () |
| void | assertSize (size_t req) |
| template<typename T> | |
| T | as (size_t ix) |
Public Attributes | |
| std::string | attr |
| std::string | str |
| pugi::xml_node | node |
| std::vector< std::string > | toks |
| std::function< std::string()> | loc |
Definition at line 111 of file xmlinputrecord.C.
|
inline |
Definition at line 117 of file xmlinputrecord.C.
References oofem::XMLInputRecord::_attr_traced_read_with_node(), _makeToks(), attr, loc, oofem::XMLInputRecord::loc(), node, and str.
|
inline |
Definition at line 123 of file xmlinputrecord.C.
References oofem::_lrtrim(), _makeToks(), attr, loc, and str.
|
inline |
|
inline |
Definition at line 137 of file xmlinputrecord.C.
References attr, loc, OOFEM_ERROR, size(), str, oofem::string_to(), and toks.
Referenced by oofem::XMLInputRecord::giveField(), oofem::XMLInputRecord::giveField(), and oofem::XMLInputRecord::giveField().
|
inline |
Definition at line 136 of file xmlinputrecord.C.
References attr, loc, OOFEM_ERROR, and size().
|
inline |
Definition at line 135 of file xmlinputrecord.C.
References toks.
Referenced by as(), assertSize(), oofem::XMLInputRecord::giveField(), oofem::XMLInputRecord::giveField(), and oofem::XMLInputRecord::giveField().
| std::string oofem::Tokens::attr |
Definition at line 112 of file xmlinputrecord.C.
Referenced by as(), assertSize(), Tokens(), and Tokens().
| std::function<std::string()> oofem::Tokens::loc |
Definition at line 116 of file xmlinputrecord.C.
Referenced by as(), assertSize(), oofem::XMLInputRecord::giveField(), oofem::XMLInputRecord::giveField(), Tokens(), and Tokens().
| pugi::xml_node oofem::Tokens::node |
Definition at line 114 of file xmlinputrecord.C.
Referenced by oofem::XMLInputRecord::giveField(), and Tokens().
| std::string oofem::Tokens::str |
Definition at line 113 of file xmlinputrecord.C.
Referenced by _makeToks(), as(), Tokens(), and Tokens().
| std::vector<std::string> oofem::Tokens::toks |
Definition at line 115 of file xmlinputrecord.C.
Referenced by _makeToks(), as(), oofem::XMLInputRecord::giveField(), oofem::XMLInputRecord::giveField(), and size().