libjmmcg  release_579_6_g8cffd
A C++ library containing an eclectic mix of useful, advanced components.
jmmcg::LIBJMMCG_VER_NAMESPACE::NTUtils::XML Namespace Reference

Classes

class  DocNS
 
class  DocWrapper
 

Typedefs

typedef win_exception exception_type
 

Enumerations

enum  node_types { attribute , document , element , text }
 

Functions

MSXML2::IXMLDOMNodePtr __fastcall CreateNode (const node_types type, const tchar *node_name, const MSXML2::IXMLDOMDocumentPtr &doc, const tchar *xml_ns)
 
MSXML2::IXMLDOMNodePtr __fastcall CreateNode (const node_types type, const tchar *node_name, const MSXML2::IXMLDOMDocumentPtr &doc, const tchar *xml_ns, const MSXML2::IXMLDOMNodePtr &node)
 
MSXML2::IXMLDOMNodePtr __fastcall CreateComment (const tchar *node_name, const tchar *comment, const MSXML2::IXMLDOMDocumentPtr &doc, const tchar *xml_ns, const MSXML2::IXMLDOMNodePtr &node)
 
tstring __fastcall GetParseError (const MSXML2::IXMLDOMDocumentPtr &doc)
 
void __fastcall ToXML (const MSXML2::IXMLDOMDocumentPtr &doc, const MSXML2::IXMLDOMNodePtr &n, const POINT &pt, const tchar *xml_ns)
 
void __fastcall FromXML (const MSXML2::IXMLDOMNodePtr &n, POINT &pt)
 
void __fastcall ToXML (const MSXML2::IXMLDOMDocumentPtr &doc, const MSXML2::IXMLDOMNodePtr &n, const RECT &rect, const tchar *xml_ns)
 
void __fastcall FromXML (const MSXML2::IXMLDOMNodePtr &n, RECT &rect)
 
template<typename Value >
void __fastcall ToXML (const MSXML2::IXMLDOMDocumentPtr &doc, const MSXML2::IXMLDOMNodePtr &n, const tchar *colln_name, const std::vector< Value > &colln, const tchar *xml_ns)
 
template<>
void __fastcall ToXML (const MSXML2::IXMLDOMDocumentPtr &doc, const MSXML2::IXMLDOMNodePtr &n, const tchar *colln_name, const std::vector< double > &colln, const tchar *xml_ns)
 
template<>
void __fastcall ToXML (const MSXML2::IXMLDOMDocumentPtr &doc, const MSXML2::IXMLDOMNodePtr &n, const tchar *colln_name, const std::vector< unsigned long > &colln, const tchar *xml_ns)
 
template<>
void __fastcall ToXML (const MSXML2::IXMLDOMDocumentPtr &doc, const MSXML2::IXMLDOMNodePtr &n, const tchar *colln_name, const std::vector< CPoint > &colln, const tchar *xml_ns)
 
template<typename Value >
void __fastcall FromXML (const MSXML2::IXMLDOMNodePtr &n, const tstring &colln_name, std::vector< Value > &colln)
 
template<>
void __fastcall FromXML (const MSXML2::IXMLDOMNodePtr &n, const tstring &colln_name, std::vector< double > &colln)
 
template<>
void __fastcall FromXML (const MSXML2::IXMLDOMNodePtr &n, const tstring &colln_name, std::vector< unsigned long > &colln)
 
template<>
void __fastcall FromXML (const MSXML2::IXMLDOMNodePtr &n, const tstring &colln_name, std::vector< CPoint > &colln)
 

Typedef Documentation

◆ exception_type

Enumeration Type Documentation

◆ node_types

Enumerator
attribute 
document 
element 
text 

Definition at line 37 of file XML_Stuff.hpp.

Function Documentation

◆ CreateComment()

MSXML2::IXMLDOMNodePtr __fastcall jmmcg::LIBJMMCG_VER_NAMESPACE::NTUtils::XML::CreateComment ( const tchar node_name,
const tchar comment,
const MSXML2::IXMLDOMDocumentPtr &  doc,
const tchar xml_ns,
const MSXML2::IXMLDOMNodePtr &  node 
)
inline

Definition at line 48 of file XML_Stuff impl.hpp.

◆ CreateNode() [1/2]

MSXML2::IXMLDOMNodePtr __fastcall jmmcg::LIBJMMCG_VER_NAMESPACE::NTUtils::XML::CreateNode ( const node_types  type,
const tchar node_name,
const MSXML2::IXMLDOMDocumentPtr &  doc,
const tchar xml_ns 
)
inline

Definition at line 32 of file XML_Stuff impl.hpp.

◆ CreateNode() [2/2]

MSXML2::IXMLDOMNodePtr __fastcall jmmcg::LIBJMMCG_VER_NAMESPACE::NTUtils::XML::CreateNode ( const node_types  type,
const tchar node_name,
const MSXML2::IXMLDOMDocumentPtr &  doc,
const tchar xml_ns,
const MSXML2::IXMLDOMNodePtr &  node 
)
inline

Definition at line 43 of file XML_Stuff impl.hpp.

◆ FromXML() [1/6]

template<>
void __fastcall jmmcg::LIBJMMCG_VER_NAMESPACE::NTUtils::XML::FromXML ( const MSXML2::IXMLDOMNodePtr &  n,
const tstring colln_name,
std::vector< CPoint > &  colln 
)
inline

Definition at line 247 of file XML_Stuff impl.hpp.

◆ FromXML() [2/6]

template<>
void __fastcall jmmcg::LIBJMMCG_VER_NAMESPACE::NTUtils::XML::FromXML ( const MSXML2::IXMLDOMNodePtr &  n,
const tstring colln_name,
std::vector< double > &  colln 
)
inline

Definition at line 211 of file XML_Stuff impl.hpp.

◆ FromXML() [3/6]

template<>
void __fastcall jmmcg::LIBJMMCG_VER_NAMESPACE::NTUtils::XML::FromXML ( const MSXML2::IXMLDOMNodePtr &  n,
const tstring colln_name,
std::vector< unsigned long > &  colln 
)
inline

Definition at line 229 of file XML_Stuff impl.hpp.

◆ FromXML() [4/6]

template<typename Value >
void __fastcall jmmcg::LIBJMMCG_VER_NAMESPACE::NTUtils::XML::FromXML ( const MSXML2::IXMLDOMNodePtr &  n,
const tstring colln_name,
std::vector< Value > &  colln 
)
inline

Definition at line 195 of file XML_Stuff impl.hpp.

◆ FromXML() [5/6]

void __fastcall jmmcg::LIBJMMCG_VER_NAMESPACE::NTUtils::XML::FromXML ( const MSXML2::IXMLDOMNodePtr &  n,
POINT &  pt 
)
inline

Definition at line 78 of file XML_Stuff impl.hpp.

◆ FromXML() [6/6]

void __fastcall jmmcg::LIBJMMCG_VER_NAMESPACE::NTUtils::XML::FromXML ( const MSXML2::IXMLDOMNodePtr &  n,
RECT &  rect 
)
inline

Definition at line 108 of file XML_Stuff impl.hpp.

◆ GetParseError()

tstring __fastcall jmmcg::LIBJMMCG_VER_NAMESPACE::NTUtils::XML::GetParseError ( const MSXML2::IXMLDOMDocumentPtr &  doc)
inline

Definition at line 56 of file XML_Stuff impl.hpp.

◆ ToXML() [1/6]

void __fastcall jmmcg::LIBJMMCG_VER_NAMESPACE::NTUtils::XML::ToXML ( const MSXML2::IXMLDOMDocumentPtr &  doc,
const MSXML2::IXMLDOMNodePtr &  n,
const POINT &  pt,
const tchar xml_ns 
)
inline

Definition at line 63 of file XML_Stuff impl.hpp.

◆ ToXML() [2/6]

void __fastcall jmmcg::LIBJMMCG_VER_NAMESPACE::NTUtils::XML::ToXML ( const MSXML2::IXMLDOMDocumentPtr &  doc,
const MSXML2::IXMLDOMNodePtr &  n,
const RECT &  rect,
const tchar xml_ns 
)
inline

Definition at line 91 of file XML_Stuff impl.hpp.

◆ ToXML() [3/6]

template<>
void __fastcall jmmcg::LIBJMMCG_VER_NAMESPACE::NTUtils::XML::ToXML ( const MSXML2::IXMLDOMDocumentPtr &  doc,
const MSXML2::IXMLDOMNodePtr &  n,
const tchar colln_name,
const std::vector< CPoint > &  colln,
const tchar xml_ns 
)
inline

Definition at line 177 of file XML_Stuff impl.hpp.

◆ ToXML() [4/6]

template<>
void __fastcall jmmcg::LIBJMMCG_VER_NAMESPACE::NTUtils::XML::ToXML ( const MSXML2::IXMLDOMDocumentPtr &  doc,
const MSXML2::IXMLDOMNodePtr &  n,
const tchar colln_name,
const std::vector< double > &  colln,
const tchar xml_ns 
)
inline

Definition at line 141 of file XML_Stuff impl.hpp.

◆ ToXML() [5/6]

template<>
void __fastcall jmmcg::LIBJMMCG_VER_NAMESPACE::NTUtils::XML::ToXML ( const MSXML2::IXMLDOMDocumentPtr &  doc,
const MSXML2::IXMLDOMNodePtr &  n,
const tchar colln_name,
const std::vector< unsigned long > &  colln,
const tchar xml_ns 
)
inline

Definition at line 159 of file XML_Stuff impl.hpp.

◆ ToXML() [6/6]

template<typename Value >
void __fastcall jmmcg::LIBJMMCG_VER_NAMESPACE::NTUtils::XML::ToXML ( const MSXML2::IXMLDOMDocumentPtr &  doc,
const MSXML2::IXMLDOMNodePtr &  n,
const tchar colln_name,
const std::vector< Value > &  colln,
const tchar xml_ns 
)
inline

Definition at line 123 of file XML_Stuff impl.hpp.