FileCatalyst namespace. More...
Classes | |
class | WS |
Objects of this class lets C++ applications easily communicate with Unlimi-Tech's FileCatalyst Workflow/Spaces servers. More... | |
Typedefs | |
typedef std::list< xmlNode * > | LXmlNodes |
Ordered list of libxml2 XML nodes. More... | |
Functions | |
std::string | to_string (const WS::EState state) |
Convert the WS internal state to a text string. More... | |
StrMap | getNodeAttributes (xmlNode *node) |
Libxml2 helper function to get a map of all attribute names and values for the given node. More... | |
xmlNode * | findAnyNodeWithName (xmlNode *node, const std::string &name) |
Libxml2 helper function to look through both siblings and children to find and return the first node with this name. More... | |
xmlNode * | findAnyNodeWithName (xmlDoc *doc, const std::string &name) |
Libxml2 helper function to look through both siblings and children to find and return the first node with this name. More... | |
xmlNode * | findImmediateChildWithName (xmlNode *node, const std::string &name) |
Libxml2 helper function to look only at immediate children nodes to find and return the first one with this name. More... | |
xmlNode * | findImmediateChildWithName (xmlDoc *doc, const std::string &name) |
Libxml2 helper function to look only at immediate children nodes to find and return the first one with this name. More... | |
StrMap | findAnyNodeAndGetAttribs (xmlNode *node, const std::string &name) |
Combination of findAnyNodeWithName() and getNodeAttributes() in one function call. More... | |
StrMap | findAnyNodeAndGetAttribs (xmlDoc *doc, const std::string &name) |
Combination of findAnyNodeWithName() and getNodeAttributes() in one function call. More... | |
LXmlNodes | findAllSiblingsWithName (xmlNode *node, const std::string &name) |
Libxml2 helper function to get a list of all sibling nodes with the given name. More... | |
LXmlNodes | findAllSiblingsWithName (xmlDoc *doc, const std::string &name) |
Libxml2 helper function to get a list of all sibling nodes with the given name. More... | |
FileCatalyst namespace.
typedef std::list<xmlNode*> fc::LXmlNodes |
Ordered list of libxml2 XML nodes.
std::string fc::to_string | ( | const WS::EState | state | ) |
Convert the WS
internal state to a text string.
xmlNode * fc::findAnyNodeWithName | ( | xmlNode * | node, |
const std::string & | name | ||
) |
Libxml2 helper function to look through both siblings and children to find and return the first node with this name.
nullptr
if a node cannot be found.For example:
For example, the code above might print the following:
xmlNode * fc::findAnyNodeWithName | ( | xmlDoc * | doc, |
const std::string & | name | ||
) |
Libxml2 helper function to look through both siblings and children to find and return the first node with this name.
nullptr
if a node cannot be found.For example:
For example, the code above might print the following:
xmlNode * fc::findImmediateChildWithName | ( | xmlNode * | node, |
const std::string & | name | ||
) |
Libxml2 helper function to look only at immediate children nodes to find and return the first one with this name.
nullptr
if a node cannot be found. xmlNode * fc::findImmediateChildWithName | ( | xmlDoc * | doc, |
const std::string & | name | ||
) |
Libxml2 helper function to look only at immediate children nodes to find and return the first one with this name.
nullptr
if a node cannot be found. fc::StrMap fc::getNodeAttributes | ( | xmlNode * | node | ) |
Libxml2 helper function to get a map of all attribute names and values for the given node.
fc::StrMap fc::findAnyNodeAndGetAttribs | ( | xmlNode * | node, |
const std::string & | name | ||
) |
Combination of findAnyNodeWithName() and getNodeAttributes() in one function call.
fc::StrMap fc::findAnyNodeAndGetAttribs | ( | xmlDoc * | doc, |
const std::string & | name | ||
) |
Combination of findAnyNodeWithName() and getNodeAttributes() in one function call.
fc::LXmlNodes fc::findAllSiblingsWithName | ( | xmlNode * | node, |
const std::string & | name | ||
) |
Libxml2 helper function to get a list of all sibling nodes with the given name.
fc::LXmlNodes fc::findAllSiblingsWithName | ( | xmlDoc * | doc, |
const std::string & | name | ||
) |
Libxml2 helper function to get a list of all sibling nodes with the given name.