List of all instructions |
Top Previous Next |
Scripts > Class elements and c++ instructions > List of all instructions
Methods of the class str
bool empty() const unsigned int size() const unsigned int length() const unsigned int find(const str& xs) const unsigned int find(const str& xs, unsigned int pos) const unsigned int rfind(const str& xs) const unsigned int rfind(const str& xs, unsigned int pos) const unsigned int find_first_of(const str& xs) const unsigned int find_first_of(const str& xs, unsigned int pos) const unsigned int find_first_not_of(const str& xs) const unsigned int find_first_not_of(const str& xs, unsigned int pos) const unsigned int find_last_of(const str& xs) const unsigned int find_last_of(const str& xs, unsigned int pos) const unsigned int find_last_not_of(const str& xs) const unsigned int find_last_not_of(const str& xs, unsigned int pos) const str substr(int from, int count) const str substr(int from) const char operator[](int xiIndex) void clear() removes the text in the string str& replace(unsigned int pos, unsigned int len, const str& s)
Methods of the container classes
Mehtod of a vector
All cursor methods and additional
cursor_type getCursor() const void reset() void clear() void push_back(const value_type& xValue) void pop_back() value_type back() value_type front() bool remove() bool setValue(const value_type& xValue) operator[](int xiIndex)
Methods of a map
All cursor methods and additional
cursor_type getCursor() const str key() const bool containsKey(const str& xsKey) const bool findKey(const str& xsKey) void reset() void clear() bool add(const str& key, const value_type& xValue) bool remove() bool remove(const str& xsKey) bool setValue(const value_type& xValue) operator[](str xsIndex)
Methods of the cursor class
bool isValid() const bool hasCurrent() const bool empty() const unsigned int size() const value_type value() const bool gotoNext() bool gotoPrev() bool containsValue(const value_type& xValue) const bool findValue(const value_type& xValue) bool findNextValue(const value_type& xValue) bool findPrevValue(const value_type& xValue)
A map cursor has the additional methods
str key() const bool containsKey(const str& xsKey) const bool findKey(const str& xsKey)
Methods of a Function table
bool add(STRING, STRING); void visit(const node& xNode)
Methods of the class node
node clone() bool addChildFirst( const node& xNewChild) bool addChildLast( const node& xNewChild) node add(const str& xsLabel, const str& xsValue) bool addChildBefore( const node& xnNewChild, const node& xnRefChild) node removeChild(const node& xnOldChild)
str label() const void setLabel(const str& xsLabel) str value() const void setValue(const str& xsValue) unsigned int id() const void setId(unsigned int xuiId)
bool hasChildren() const bool isDescendant( const node& xNode ) const bool isAncestor( const node& xNode ) const bool isSibling( const node& xNode ) const unsigned int level() const unsigned int descendentsCount() const unsigned int childCount() const
node root() const node parent() const node firstChild() const node lastChild() const node nextSibling() const node prevSibling() const node firstSibling() const node lastSibling() const node bottomFirstChild() const node bottomLastChild() const node next() const node follow() const node prev() const
bool gotoRoot() bool gotoLastChild() bool gotoFirstSibling() bool gotoLastSibling() bool gotoBottomFirstChild() bool gotoBottomLastChild() bool gotoNext() bool gotoPrev() bool gotoNextSibling() bool gotoPrevSibling() bool gotoParent() bool gotoFirstChild()
node findNextLabel(const str& xsLabel) const node findNextLabel(const str& xsLabel, const node& xnLast) const node findNextValue(const str& xsValue) const node findNextValue(const str& xsValue, const node& xnLast) const node findPrevLabel(const str& xsLabel) const node findPrevLabel(const str& xsLabel, const node& xnLast) const node findPrevValue(const str& xsValue) const node findPrevValue(const str& xsValue, const node& xnLast) const node findChildLabel(const str& xsLabel) node findChildValue(const str& xsValue) node findParentLabel(const str& xsLabel) node findParentValue(const str& xsValue) node findNextId(unsigned int xuiId) const node findNextId(unsigned int xuiId, const node& xnLast) const node findPrevId(unsigned int xuiId) const node findPrevId(unsigned int xuiId, const node& xnLast) const
void setAttrib(const str& xsLabel, const str& xsValue) str attrib(const str& xsLabel)
stod to convert an str to double stoi to convert an str to int hstoi to convert a hexadicimal sting to int stoc to convert a stirng to a character
dtos to convert a double value to an str itos to convert a int value to an str itohs to convert an interger into a hexadecimal string ctohs to convert a character into a hexadecimal string ctos to convert a character into a string
to_upper_copy returns an upper case string to_lower_copy returns a lower case string trim_left_copy removes leading spaces trim_right_copy removes trailing spaces trim_copy removes leading and trailing spaces
basename Returns the base name of a file path extension Returns the extension of a file path change_extension Changes the extension of a file pat append_path Composes a path current_path Returns the current path exists Tests the existence of a path is_directory Tests the existence of a directory file_size Returns the file size find_file Looks up a file in a directory load_file Loads a file path_separator String constant for the path separator
out writing the output log writing of log information bool_bin writes binary bool int_bin writes binary int uint_bin writes binary unsigned int float_bin writes binary float double_bin writes binary double char_bin writes binary char string_bin writes char* with the length of the string bin writes passed type binary ends writes binary null character
unsigned int size() const str str() const void parse(const str& xs)
clock_sec calculates time time_stamp date/time string time_stamp(const str& xsFormat) random generates random numbers
throw throwing an exception
unsigned int size() const unsigned int length(int sub = 0) const str str(int sub) const str str() const str text(unsigned int from) const str text(unsigned int from, unsigned int to) const str copy() const
int LastSym() const unsigned int Line() const int Col() const unsigned int Position() const unsigned int LastPosition() const unsigned int NextPosition() const void SetPosition(unsigned int xi );
bool IsSubCall() const str ProductionName() const str BranchName() const
str next_str() const str next_copy() const stri next_str(int sub) const unsigned int next_size() const unsigned int next_length(int sub = 0) const
str lp_str() const str lp_str(int sub) const str lp_copy() const unsigned int lp_length(int sub = 0) const
str la_str() const str la_copy() const str la_str(int sub) const unsigned int la_length(int sub = 0) const
int GetState() void SetState(int xeState);
str SourceName() void SourceName(const str& xsSourceName, bool xbLast) str TargetName() void TargetName(const str& xsTargetName) str SourceRoot() void SourceRoot(const str& xsSourceDir) str TargetRoot() void TargetRoot(const str& xsTargetDir)
void RedirectOutput( const str& xsFilename ) void RedirectOutputBinary( const str& xsFilename ) void RedirectOutput( const str& xsFilename, bool xbAppend ) void RedirectOutputBinary( const str& xsFilename, bool xbAppend ) void ResetOutput( )
dnode GetDocumentElement(); void WriteDocument(); void WriteDocument(const str& xsFilename);
indent str IndentStr() const void SetIndenter(char xc) void PushIndent( int xi ) void IncrIndent( int xi ) void PopIndent() void ClearIndents()
void PushScope(const str& xs) void PopScope() void ClearScopes() str ScopeStr() const
bool AddToken( const str& xsText, const str& xsDynTokenName) bool AddToken( const str& xsText, const str& xsDynTokenName, const str& xsScope)
void UseExcept(bool xbUseExcept) bool GetUseExcept() const bool HasError() const void GenError(const str& xs) void AddMessage(const str& xs) void AddWarning(const str& xs) void AddError(const str& xs)
|
This page belongs to the TextTransformer Documentation |
Home Content German |