GME  13
Classes | Public Member Functions | Static Public Member Functions | Public Attributes
CMgaDumper Class Reference

#include <MgaDumper.h>

Inheritance diagram for CMgaDumper:
Inheritance graph
[legend]
Collaboration diagram for CMgaDumper:
Collaboration graph
[legend]

List of all members.

Classes

struct  elem

Public Member Functions

 CMgaDumper ()
void InitDump (IMgaProject *p, BSTR xmlfile, BSTR encoding)
void DoneDump (bool abort)
STDMETHOD() DumpProject (IMgaProject *p, BSTR xmlfile)
STDMETHOD() DumpProject2 (IMgaProject *p, BSTR xmlfile, ULONGLONG hwndParent)
STDMETHOD() DumpFCOs (IMgaProject *proj, IMgaFCOs *p, IMgaFolders *f, IMgaRegNodes *r, BSTR xmlfile)
STDMETHOD() DumpFCOs2 (IMgaProject *proj, IMgaFCOs *p, IMgaFolders *f, IMgaRegNodes *r, BSTR xmlfile, ULONGLONG hwndParent)
STDMETHOD() DumpClos (IMgaFCOs *sel_fco, IMgaFolders *sel_fold, BSTR xmlfile, int lib_stub)
STDMETHOD() DumpClosR (IMgaFCOs *sel_fco, IMgaFolders *sel_fold, BSTR xmlfile, IMgaFCOs *top_fco, IMgaFolders *top_fold, int options, BSTR abspath, BSTR acceptingkinds)
STDMETHOD() put_FormatVersion (long p)
void Indent (int i)
void StartElem (const TCHAR *name)
void Attr (const TCHAR *name, const TCHAR *value)
void Attr (const TCHAR *name, const TCHAR *value, int len)
void Data (const TCHAR *value, int len)
void EndElem ()
void Attr (const TCHAR *name, std::tstring &value)
void Attr (const TCHAR *name, const CComBstrObj &value)
void Data (std::tstring &value)
void Data (const CComBstrObj &value)
template<class INTERFACE , class FUNC_INTERFACE >
void Attr (const TCHAR *name, INTERFACE p, HRESULT(__stdcall FUNC_INTERFACE::*func)(BSTR *))
template<class INTERFACE , class FUNC_INTERFACE >
void LAttr (const TCHAR *name, INTERFACE p, HRESULT(__stdcall FUNC_INTERFACE::*func)(long *))
template<class INTERFACE , class FUNC_INTERFACE >
void Data (INTERFACE p, HRESULT(__stdcall FUNC_INTERFACE::*func)(BSTR *))
template<class INTERFACE , class FUNC_INTERFACE , class COLLECTION >
void Dump (INTERFACE p, HRESULT(__stdcall FUNC_INTERFACE::*func)(COLLECTION **q))
bool CheckInClosure (CComObjPtr< IMgaFCO >)
bool CheckInClosure (CComObjPtr< IMgaFolder >)
bool CheckInClosure (CComObjPtr< IMgaAttribute >)
bool CheckInClosure (CComObjPtr< IMgaConnPoint >)
void Dump (IMgaProject *project)
void Dump (IMgaFolder *folder)
void Dump (IMgaRegNode *regnode)
void Dump (IMgaObject *obj)
void Dump (IMgaModel *model)
void Dump (IMgaConstraint *constraint)
void Dump (IMgaAttribute *attribute)
void Dump (IMgaAtom *atom)
void Dump (IMgaReference *reference)
void Dump (IMgaConnection *connection)
void Dump (IMgaSet *set)
void Dump (IMgaConnPoint *connpoint)
void DumpFCO (IMgaFCO *fco, bool dump_attrs=true, bool dump_name=true, bool dump_elems=true)
void DumpConstraints (IMgaObject *object)
void DumpIDRefs (const TCHAR *name, CComObjPtrVector< IMgaFCO > &fcos)
std::tstring DumpGUIDRefs (CComObjPtrVector< IMgaFCO > &fcos)
std::tstring DumpMixedGUIDRefs (CComObjPtrVector< IMgaFCO > &fcos)
void DumpConnDetails (CComObjPtr< IMgaConnection > connection)
void Sort (CComObjPtrVector< IMgaRegNode > *v)
void Sort (CComObjPtrVector< IMgaAttribute > *v)
void Sort (CComObjPtrVector< IMgaConnPoint > *v)
void Sort (CComObjPtrVector< IMgaFolder > *v)
void Sort (CComObjPtrVector< IMgaFCO > *v)
bool isInLibrary (IMgaObject *obj)
void removeInnerObjs ()
void putInTerritory (CComObjPtrVector< IMgaFCO > &)
void putInTerritory (CComObjPtrVector< IMgaFolder > &)

Static Public Member Functions

static bool HasMarkup (const TCHAR *value, int len)

Public Attributes

Transcoder ofs
std::vector< elemelems
long fco_count
int dumpversion
bool m_dumpGuids
bool m_closureDump
bool m_dumpRelids
bool m_strictDump
bool m_dumpLibraryStubs
CComObjPtr< IMgaProjectproject
CComObjPtr< IMgaTerritoryterritory
CComObjPtrVector< IMgaFCOm_selFcos
CComObjPtrVector< IMgaFolderm_selFolders
CComObjPtrVector< IMgaRegNodem_selRegNodes
std::tstring m_currAbsPath
bool m_v2
CComPtr< IMgaProgressDlgm_progress

Detailed Description

Definition at line 36 of file MgaDumper.h.


Constructor & Destructor Documentation

CMgaDumper::CMgaDumper ( ) [inline]

Definition at line 44 of file MgaDumper.h.


Member Function Documentation

void CMgaDumper::Attr ( const TCHAR *  name,
const TCHAR *  value 
) [inline]

Definition at line 326 of file MgaDumper.cpp.

void CMgaDumper::Attr ( const TCHAR *  name,
const TCHAR *  value,
int  len 
) [inline]

Definition at line 336 of file MgaDumper.cpp.

void CMgaDumper::Attr ( const TCHAR *  name,
std::tstring value 
) [inline]

Definition at line 85 of file MgaDumper.h.

void CMgaDumper::Attr ( const TCHAR *  name,
const CComBstrObj value 
) [inline]

Definition at line 90 of file MgaDumper.h.

template<class INTERFACE , class FUNC_INTERFACE >
void CMgaDumper::Attr ( const TCHAR *  name,
INTERFACE  p,
HRESULT(__stdcall FUNC_INTERFACE::*)(BSTR *)  func 
) [inline]

Definition at line 111 of file MgaDumper.h.

Definition at line 441 of file MgaDumper.cpp.

Definition at line 407 of file MgaDumper.cpp.

Definition at line 404 of file MgaDumper.cpp.

Definition at line 405 of file MgaDumper.cpp.

void CMgaDumper::Data ( const TCHAR *  value,
int  len 
) [inline]

Definition at line 359 of file MgaDumper.cpp.

void CMgaDumper::Data ( std::tstring value) [inline]

Definition at line 97 of file MgaDumper.h.

void CMgaDumper::Data ( const CComBstrObj value) [inline]

Definition at line 102 of file MgaDumper.h.

template<class INTERFACE , class FUNC_INTERFACE >
void CMgaDumper::Data ( INTERFACE  p,
HRESULT(__stdcall FUNC_INTERFACE::*)(BSTR *)  func 
) [inline]

Definition at line 138 of file MgaDumper.h.

void CMgaDumper::DoneDump ( bool  abort)

Definition at line 115 of file MgaDumper.cpp.

template<class INTERFACE , class FUNC_INTERFACE , class COLLECTION >
void CMgaDumper::Dump ( INTERFACE  p,
HRESULT(__stdcall FUNC_INTERFACE::*)(COLLECTION **q)  func 
) [inline]

Definition at line 153 of file MgaDumper.h.

void CMgaDumper::Dump ( IMgaProject project)

Definition at line 498 of file MgaDumper.cpp.

void CMgaDumper::Dump ( IMgaFolder folder)

Definition at line 551 of file MgaDumper.cpp.

void CMgaDumper::Dump ( IMgaRegNode regnode)

Definition at line 641 of file MgaDumper.cpp.

void CMgaDumper::Dump ( IMgaObject obj)

Definition at line 683 of file MgaDumper.cpp.

void CMgaDumper::Dump ( IMgaModel model)

Definition at line 917 of file MgaDumper.cpp.

void CMgaDumper::Dump ( IMgaConstraint constraint)

Definition at line 960 of file MgaDumper.cpp.

void CMgaDumper::Dump ( IMgaAttribute attribute)

Definition at line 977 of file MgaDumper.cpp.

void CMgaDumper::Dump ( IMgaAtom atom)

Definition at line 1070 of file MgaDumper.cpp.

void CMgaDumper::Dump ( IMgaReference reference)

Definition at line 1081 of file MgaDumper.cpp.

void CMgaDumper::Dump ( IMgaConnection connection)

Definition at line 1153 of file MgaDumper.cpp.

void CMgaDumper::Dump ( IMgaSet set)

Definition at line 1184 of file MgaDumper.cpp.

void CMgaDumper::Dump ( IMgaConnPoint connpoint)

Definition at line 1231 of file MgaDumper.cpp.

STDMETHODIMP CMgaDumper::DumpClos ( IMgaFCOs *  sel_fco,
IMgaFolders *  sel_fold,
BSTR  xmlfile,
int  lib_stub 
)

Definition at line 1747 of file MgaDumper.cpp.

STDMETHODIMP CMgaDumper::DumpClosR ( IMgaFCOs *  sel_fco,
IMgaFolders *  sel_fold,
BSTR  xmlfile,
IMgaFCOs *  top_fco,
IMgaFolders *  top_fold,
int  options,
BSTR  abspath,
BSTR  acceptingkinds 
)

Definition at line 1811 of file MgaDumper.cpp.

Definition at line 1933 of file MgaDumper.cpp.

Definition at line 932 of file MgaDumper.cpp.

void CMgaDumper::DumpFCO ( IMgaFCO fco,
bool  dump_attrs = true,
bool  dump_name = true,
bool  dump_elems = true 
)

CIN() introduced fresly //<!>

Definition at line 745 of file MgaDumper.cpp.

STDMETHODIMP CMgaDumper::DumpFCOs ( IMgaProject proj,
IMgaFCOs *  p,
IMgaFolders *  f,
IMgaRegNodes *  r,
BSTR  xmlfile 
)

Definition at line 184 of file MgaDumper.cpp.

STDMETHODIMP CMgaDumper::DumpFCOs2 ( IMgaProject proj,
IMgaFCOs *  p,
IMgaFolders *  f,
IMgaRegNodes *  r,
BSTR  xmlfile,
ULONGLONG  hwndParent 
)

Definition at line 189 of file MgaDumper.cpp.

Definition at line 1355 of file MgaDumper.cpp.

void CMgaDumper::DumpIDRefs ( const TCHAR *  name,
CComObjPtrVector< IMgaFCO > &  fcos 
)

Definition at line 1304 of file MgaDumper.cpp.

Definition at line 1381 of file MgaDumper.cpp.

STDMETHODIMP CMgaDumper::DumpProject ( IMgaProject p,
BSTR  xmlfile 
)

Definition at line 137 of file MgaDumper.cpp.

STDMETHODIMP CMgaDumper::DumpProject2 ( IMgaProject p,
BSTR  xmlfile,
ULONGLONG  hwndParent 
)

Definition at line 142 of file MgaDumper.cpp.

void CMgaDumper::EndElem ( ) [inline]

Definition at line 377 of file MgaDumper.cpp.

bool CMgaDumper::HasMarkup ( const TCHAR *  value,
int  len 
) [static]

Definition at line 347 of file MgaDumper.cpp.

void CMgaDumper::Indent ( int  i) [inline]

Definition at line 299 of file MgaDumper.cpp.

void CMgaDumper::InitDump ( IMgaProject p,
BSTR  xmlfile,
BSTR  encoding 
)

Definition at line 88 of file MgaDumper.cpp.

bool CMgaDumper::isInLibrary ( IMgaObject obj) [inline]

Definition at line 240 of file MgaDumper.h.

template<class INTERFACE , class FUNC_INTERFACE >
void CMgaDumper::LAttr ( const TCHAR *  name,
INTERFACE  p,
HRESULT(__stdcall FUNC_INTERFACE::*)(long *)  func 
) [inline]

Definition at line 123 of file MgaDumper.h.

STDMETHOD() CMgaDumper::put_FormatVersion ( long  p) [inline]

Definition at line 74 of file MgaDumper.h.

Definition at line 1625 of file MgaDumper.cpp.

Definition at line 1638 of file MgaDumper.cpp.

Definition at line 1655 of file MgaDumper.cpp.

Definition at line 1420 of file MgaDumper.cpp.

Definition at line 1460 of file MgaDumper.cpp.

Definition at line 1501 of file MgaDumper.cpp.

Definition at line 1546 of file MgaDumper.cpp.

Definition at line 1586 of file MgaDumper.cpp.

void CMgaDumper::StartElem ( const TCHAR *  name) [inline]

Definition at line 305 of file MgaDumper.cpp.


Member Data Documentation

Definition at line 232 of file MgaDumper.h.

std::vector<elem> CMgaDumper::elems

Definition at line 229 of file MgaDumper.h.

Definition at line 231 of file MgaDumper.h.

Definition at line 235 of file MgaDumper.h.

Definition at line 259 of file MgaDumper.h.

Definition at line 233 of file MgaDumper.h.

Definition at line 238 of file MgaDumper.h.

Definition at line 236 of file MgaDumper.h.

Definition at line 262 of file MgaDumper.h.

Definition at line 250 of file MgaDumper.h.

Definition at line 251 of file MgaDumper.h.

Definition at line 252 of file MgaDumper.h.

Definition at line 237 of file MgaDumper.h.

Definition at line 261 of file MgaDumper.h.

Definition at line 220 of file MgaDumper.h.

Definition at line 247 of file MgaDumper.h.

Definition at line 248 of file MgaDumper.h.


The documentation for this class was generated from the following files: