GME  13
Public Types | Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Static Protected Attributes
CCoreXmlFile Class Reference

#include <CoreXmlFile.h>

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

List of all members.

Public Types

enum  SourceControl { SC_NONE, SC_SUBVERSION }
enum  CheckOutSate { CS_NOT_CHECKEDOUT, CS_CURRENT_USER, CS_OTHER_USER }
enum  FileStatusBitList { FS_LOCAL = 0x1, FS_OTHER = 0x2, FS_MODIFIEDBYOTHERS = 0x100, FS_NOTYETSAVED = 0x200 }

Public Member Functions

 CCoreXmlFile ()
 ~CCoreXmlFile ()
STDMETHODIMP get_MetaProject (ICoreMetaProject **p)
STDMETHODIMP put_MetaProject (ICoreMetaProject *p)
STDMETHODIMP get_MetaObject (ICoreMetaObject **p)
STDMETHODIMP put_MetaObject (ICoreMetaObject *p)
STDMETHODIMP get_MetaID (metaid_type *p)
STDMETHODIMP put_MetaID (metaid_type p)
STDMETHODIMP get_MetaAttribute (ICoreMetaAttribute **p)
STDMETHODIMP put_MetaAttribute (ICoreMetaAttribute *p)
STDMETHODIMP get_AttrID (attrid_type *p)
STDMETHODIMP put_AttrID (attrid_type p)
STDMETHODIMP get_AttributeValue (VARIANT *p)
STDMETHODIMP put_AttributeValue (VARIANT p)
STDMETHODIMP OpenObject (objid_type objid)
STDMETHODIMP CreateObject (objid_type *objid)
STDMETHODIMP CloseObject ()
STDMETHODIMP DeleteObject ()
STDMETHODIMP LockObject ()
STDMETHODIMP OpenProject (BSTR connection, VARIANT_BOOL *ro_mode)
STDMETHODIMP CreateProject (BSTR connection)
STDMETHODIMP SaveProject (BSTR connection, VARIANT_BOOL keepoldname)
STDMETHODIMP CloseProject (VARIANT_BOOL abort=VARIANT_FALSE)
STDMETHODIMP DeleteProject ()
STDMETHODIMP BeginTransaction ()
STDMETHODIMP CommitTransaction ()
STDMETHODIMP AbortTransaction ()
STDMETHODIMP get_StorageType (long *p)
 CCoreXmlFile ()
 ~CCoreXmlFile ()
STDMETHODIMP get_MetaProject (ICoreMetaProject **p)
STDMETHODIMP put_MetaProject (ICoreMetaProject *p)
STDMETHODIMP get_MetaObject (ICoreMetaObject **p)
STDMETHODIMP put_MetaObject (ICoreMetaObject *p)
STDMETHODIMP get_MetaID (metaid_type *p)
STDMETHODIMP put_MetaID (metaid_type p)
STDMETHODIMP get_MetaAttribute (ICoreMetaAttribute **p)
STDMETHODIMP put_MetaAttribute (ICoreMetaAttribute *p)
STDMETHODIMP get_AttrID (attrid_type *p)
STDMETHODIMP put_AttrID (attrid_type p)
STDMETHODIMP get_AttributeValue (VARIANT *p)
STDMETHODIMP put_AttributeValue (VARIANT p)
STDMETHODIMP OpenObject (objid_type objid)
STDMETHODIMP CreateObject (objid_type *objid)
STDMETHODIMP CloseObject ()
STDMETHODIMP DeleteObject ()
STDMETHODIMP LockObject ()
STDMETHODIMP OpenProject (BSTR connection, VARIANT_BOOL *ro_mode)
STDMETHODIMP CreateProject (BSTR connection)
STDMETHODIMP SaveProject (BSTR connection, VARIANT_BOOL keepoldname)
STDMETHODIMP CloseProject (VARIANT_BOOL abort=VARIANT_FALSE)
STDMETHODIMP DeleteProject ()
STDMETHODIMP BeginTransaction ()
STDMETHODIMP CommitTransaction ()
STDMETHODIMP AbortTransaction ()
STDMETHODIMP get_StorageType (long *p)
void sendMsg (const std::string &, int mtype)
std::string makelink (XmlObject *ptr)
DOMLSParser * getFreshParser (const std::string &p_whoIsTheUser, DOMImplementationLS **p_ptrRetDomImpl=0)

Public Attributes

MsgConsole m_console

Protected Member Functions

void fillParentMap ()
void closeMetaProject ()
void openMetaObject ()
void closeMetaObject ()
void openMetaAttribute ()
void closeMetaAttribute ()
void setFolderPathOnCreate (BSTR connection)
void setFolderPathOnOpen (BSTR connection)
void clearAll ()
void addObject (XmlObject *obj)
void removeObject (XmlObject *obj)
void setPointer (XmlObject *obj, attrid_type attribId, XmlObject *pointed)
void setPointer (XmlAttrPointer *attr, VARIANT p)
void updateCollections ()
void resolvePointers (UnresolvedPointerVec &pointers)
void getPointer (XmlAttrPointer *attr, VARIANT *p)
void getCollection (XmlAttrCollection *attr, VARIANT *p)
XmlObjectobjectFromObjId (metaobjidpair_type idpair)
void objIdFromObject (XmlObject *obj, metaobjidpair_type &idpair)
void writeBinaryCache ()
void readBinaryCache ()
void writeAll ()
void writeXMLFile (XmlObject *container)
void writeObject (XmlObject *obj, FILE *file, bool container, const char *prefix)
void readXMLFile (const char *fileName, UnresolvedPointerVec &pointers)
void readObject (XERCES_CPP_NAMESPACE::DOMElement *e, UnresolvedPointerVec &pointers, XmlObject *parent)
void readAll ()
void incrementalUpdate ()
void fillParentMap ()
void closeMetaProject ()
void openMetaObject ()
void closeMetaObject ()
void openMetaAttribute ()
void closeMetaAttribute ()
void parseConnectionString (BSTR connection)
void svnSshHandling ()
std::string svnSshMangling (const std::string &p_url)
std::string userNameFromSvnSshUrl ()
bool isUrlSvnSsh ()
void svnOptions ()
void setFileNames (bool reset=false)
void getContainerFileName (XmlObject *obj, std::string &str, bool fullpath=true)
void getContainerName (XmlObject *obj, std::string &name, std::string &type)
void clearAll ()
void addObject (XmlObject *obj)
void deleteObject (XmlObject *obj)
void setPointer (XmlObject *obj, attrid_type attribId, XmlObject *pointed)
XmlObjectsetPointer (VARIANT p)
void updateCollections ()
void resolvePointers (UnresolvedPointerVec &pointers)
void resetSourceControlForAll ()
void resetSourceControlInfo (XmlObject *obj)
void resetSourceControlStat (XmlObject *obj, bool freshObj)
void resetSettings ()
void getPointer (XmlAttrPointer *attr, VARIANT *p)
void getCollection (XmlAttrCollection *attr, VARIANT *p)
XmlObjectgetContainer (XmlObject *obj)
void getContainedObjects (XmlObject *obj, XmlObjVec &vec)
void getCheckOutContainers (XmlObjSet &objects, XmlObjSet &containers, bool thorough=false)
void getDependentContainers (XmlObject *obj, XmlObjSet &containers, XmlObjSet &processedObjects, bool thorough=false)
void getMyDepObj (XmlObject *obj, XmlObjSet &containers, XmlObjSet &processedObjects, bool thorough)
void getMyDepObjConts (XmlObjSet &objects, XmlObjSet &containers, bool thorough)
void getAllTheWayDown (XmlObject *obj, XmlObjSet &containers)
void getAllUpAndDown (XmlObjSet &objects, XmlObjSet &containers)
void getBasesOfObj (XmlObject *obj, XmlObjSet &containers)
void getBasesOf (XmlObjSet &objects, XmlObjSet &containers)
void getDeriveds (XmlObject *obj, XmlObjSet &containers)
void applySmallChange (XmlObjSet &p_conts)
bool checkOutFiles (XmlObjSet &containers)
XmlObjectobjectFromObjId (metaobjidpair_type idpair)
void objIdFromObject (XmlObject *obj, metaobjidpair_type &idpair)
void writeBinaryCache ()
bool readBinaryCache ()
void timestampOfCache (FILETIME *p_fTime)
void createProjectFile ()
void readProjectFile ()
void writeAll ()
void writeXMLFile (XmlObject *container)
void writeObject (XmlObject *obj, Transcoder &file, bool container, const char *prefix, CTime lastWriteTime)
void applyLastWrTime (XmlObject *obj, bool container, CTime lastWriteTime)
void timeSync (const char *fileName, XmlObject *container)
void fullReadContainer (XmlObject *container)
void readXMLFile (const char *fileName, UnresolvedPointerVec &pointers, bool fullLoad)
void readObject (XERCES_CPP_NAMESPACE::DOMElement *e, UnresolvedPointerVec &pointers, XmlObject *parent, bool fullLoad, CTime lastWriteTime)
void readAll (bool fullLoad)
void loadFrom (const std::string &p_dir, UnresolvedPointerVec &p_pointers, bool p_fullLoad)
void loadDirs (const std::string &p_dir, UnresolvedPointerVec &p_pointers, bool p_fullLoad)
void getLatestAndLoad ()
bool getUserCredentialInfo (int p_svnText, bool p_requireLogin)
void createProjectFolder ()
int createHashedFolders ()
void commitHashedFolders ()
void socoAdd (const std::string &p_path, bool p_recursive)
void socoCommit (const std::string &p_path, const std::string &p_comment, bool p_initial)
void createNonversioned ()
void getSourceSafePath (XmlObject *obj, std::string &str)
bool isContainerReadOnly (XmlObject *obj)
bool isContinerCheckedOut (XmlObject *obj)
void checkOutContainer (XmlObject *obj)
void rollBackTheCheckOutContainer (XmlObject *obj)
void addToSourceControl (XmlObject *container, bool p_fileExisted)
void getLatestVersion ()
void checkInAll ()
void checkInAll (bool keepCheckedOut)
void showUsedFiles (XmlObjSet &containers, bool p_latentMessage=false)
void setSourceControlNodes (XmlObject *container, long lInfo, long lStat)
void updateSourceControlInfo (XmlObject *container)
void updateSourceControlInfo ()
void whoControlsThis (XmlObject *container=0)
void dumpSourceControlInfo ()
bool filesModifiedByOthers ()
bool filesModifiedByOthersV3 (XmlObjSet &readOnlyFiles, XmlObjSet &latentFiles)
bool fileModifiedByOthers (XmlObject *obj)
bool makeSureFileExistsInVerSys (const std::string &p_fname, const std::string &p_initialcontent, bool p_needsLock=true)
void getSVLastCommiter (XmlObject *obj, std::string &user)
void getSVCurrentOwner (XmlObject *obj, std::string &user, bool &newfile)
bool isCheckedOutByElseSVN (const std::string &p_file)
bool isVersionedInSVN (const std::string &p_file, bool p_isADir=false, bool p_suppressErrorMsg=false)
bool infoSVN (const std::string &p_url, bool p_recursive, std::string &p_resultMsg, std::string &p_author, std::string &p_owner)
bool lockablePropertySVN (const std::string &p_file)
bool applyLockSVN (const std::string &p_file)
bool removeLockSVN (const std::string &p_file)
bool mkdirSVN (const std::string &p_url, const std::string &p_newDirName, const std::string &p_localPath)
bool addSVN (const std::string &p_file, bool p_recursive=false)
void findAllRwObjs (const std::string &p_folderPath, std::vector< std::string > &p_rw_file_vec)
bool bulkCommitSVN (const std::string &p_dir, const std::string &p_comment, bool p_noUnlock=false)
bool commitSVN (const std::string &p_dirOrFile, const std::string &p_comment, bool p_initialCommit=false, bool p_noUnlock=false)
bool updateSVN (const std::string &p_dirOrFile)
void svnSetup (bool createOrOpen)
void testSubversion ()
void createSubversionClientImpl ()
void createSubversionedFolder ()
void protect (XmlObject *obj, OpCode oc)
bool findOnProtectedLists (GUID p_gd, std::string &p_scapegoatUser)
void refreshSessionFolder ()
bool findInFile (const std::string &p_filename, const std::string &p_gd)
void replaceUserName (const std::string &p_username)
std::string userName ()
bool isSV ()
bool userFilter (CTimeSpan &p_elapsed)
std::vector< LoggedInallusers ()
std::vector< LoggedIngetUsersFromSignFile ()
CTime lastSyncTimeForAllUsers ()
CTime findEarliestLogin (int p_nbOfDays, int p_nbOfHours, int p_nbOfMinutes)
bool specialUserInquiryHandled (VARIANT p)
XERCES_CPP_NAMESPACE::DOMDocument * enclosedParse (const std::string &p_fileName, XERCES_CPP_NAMESPACE::DOMLSParser *p_parser, bool *p_success)
void newDOMObjs (XERCES_CPP_NAMESPACE::DOMImplementationLS **p_domImpl, std::auto_ptr< XERCES_CPP_NAMESPACE::DOMLSParser > &p_domParser, std::auto_ptr< XERCES_CPP_NAMESPACE::DOMErrorHandler > &p_domErrHandler)

Protected Attributes

CComObjPtr< ICoreMetaProjectm_metaProject
CComObjPtr< ICoreMetaObjectm_metaObject
metaid_type m_metaObjectId
CComObjPtr< ICoreMetaAttributem_metaAttribute
attrid_type m_metaAttributeId
valtype_type m_metaAttributeValType
ParentMap m_parentMap
bool m_opened
bool m_modified
string m_folderPath
string m_cacheFileName
bool m_inTransaction
XmlObjVec m_objects
GUIDToXmlObjectMap m_objectsByGUID
XmlObjectm_openedObject
XmlObjectm_root
std::string m_svnUrl
bool m_hashFileNames
int m_hashVal
bool m_hashInfoFound
bool m_svnShowCmdLineWindows
bool m_svnRedirectOutput
std::auto_ptr< HiClientm_svn
bool m_needsSessionRefresh
std::string m_parentFolderPath
std::string m_folderPath
std::string m_contentPath
std::string m_cacheFileName
std::string m_projectFileName
std::string m_projectName
bool m_savedOnce
int m_sourceControl
std::string m_vssParentPath
std::string m_vssPath
std::string m_vssUser
std::string m_vssPassword
bool m_trivialChanges
bool m_fullLockNeeded
UndoMap m_undoMap
XmlObjSet m_modifiedObjects
XmlObjVec m_createdObjects
XmlObjSet m_deletedObjects
ProtectList m_protectList
SignManager m_signer
OperatingOptions m_userOpts
std::vector< XmlObject * > m_deldObjs
friend PublicStorage
friend SignManager
friend ProtectList

Static Protected Attributes

static const char * m_contentConst = "contents"

Detailed Description

Definition at line 235 of file Core/CoreXmlFile.h.


Member Enumeration Documentation

Enumerator:
CS_NOT_CHECKEDOUT 
CS_CURRENT_USER 
CS_OTHER_USER 

Definition at line 470 of file XmlBackEnd/CoreXmlFile.h.

Enumerator:
FS_LOCAL 
FS_OTHER 
FS_MODIFIEDBYOTHERS 
FS_NOTYETSAVED 

Definition at line 477 of file XmlBackEnd/CoreXmlFile.h.

Enumerator:
SC_NONE 
SC_SUBVERSION 

Definition at line 464 of file XmlBackEnd/CoreXmlFile.h.


Constructor & Destructor Documentation

Definition at line 395 of file Core/CoreXmlFile.cpp.

Definition at line 409 of file Core/CoreXmlFile.cpp.


Member Function Documentation

Definition at line 816 of file Core/CoreXmlFile.cpp.

void CCoreXmlFile::addObject ( XmlObject obj) [protected]

Definition at line 968 of file Core/CoreXmlFile.cpp.

void CCoreXmlFile::addObject ( XmlObject obj) [protected]
bool CCoreXmlFile::addSVN ( const std::string p_file,
bool  p_recursive = false 
) [protected]

Definition at line 5681 of file XmlBackEnd/CoreXmlFile.cpp.

void CCoreXmlFile::addToSourceControl ( XmlObject container,
bool  p_fileExisted 
) [protected]

Definition at line 4223 of file XmlBackEnd/CoreXmlFile.cpp.

std::vector< LoggedIn > CCoreXmlFile::allusers ( ) [protected]

Definition at line 5050 of file XmlBackEnd/CoreXmlFile.cpp.

void CCoreXmlFile::applyLastWrTime ( XmlObject obj,
bool  container,
CTime  lastWriteTime 
) [protected]

Definition at line 3481 of file XmlBackEnd/CoreXmlFile.cpp.

bool CCoreXmlFile::applyLockSVN ( const std::string p_file) [protected]

Definition at line 5646 of file XmlBackEnd/CoreXmlFile.cpp.

void CCoreXmlFile::applySmallChange ( XmlObjSet p_conts) [protected]

Definition at line 859 of file XmlBackEnd/CoreXmlFile.cpp.

Definition at line 794 of file Core/CoreXmlFile.cpp.

bool CCoreXmlFile::bulkCommitSVN ( const std::string p_dir,
const std::string p_comment,
bool  p_noUnlock = false 
) [protected]

Definition at line 5725 of file XmlBackEnd/CoreXmlFile.cpp.

void CCoreXmlFile::checkInAll ( ) [protected]

Definition at line 5279 of file XmlBackEnd/CoreXmlFile.cpp.

void CCoreXmlFile::checkInAll ( bool  keepCheckedOut) [protected]

Definition at line 5294 of file XmlBackEnd/CoreXmlFile.cpp.

void CCoreXmlFile::checkOutContainer ( XmlObject obj) [protected]

Definition at line 4190 of file XmlBackEnd/CoreXmlFile.cpp.

bool CCoreXmlFile::checkOutFiles ( XmlObjSet containers) [protected]

Definition at line 2924 of file XmlBackEnd/CoreXmlFile.cpp.

void CCoreXmlFile::clearAll ( ) [protected]

Definition at line 959 of file Core/CoreXmlFile.cpp.

void CCoreXmlFile::clearAll ( ) [protected]
void CCoreXmlFile::closeMetaAttribute ( ) [protected]

Definition at line 888 of file Core/CoreXmlFile.cpp.

void CCoreXmlFile::closeMetaAttribute ( ) [protected]
void CCoreXmlFile::closeMetaObject ( ) [protected]

Definition at line 870 of file Core/CoreXmlFile.cpp.

void CCoreXmlFile::closeMetaObject ( ) [protected]
void CCoreXmlFile::closeMetaProject ( ) [protected]

Definition at line 857 of file Core/CoreXmlFile.cpp.

void CCoreXmlFile::closeMetaProject ( ) [protected]
STDMETHODIMP CCoreXmlFile::CloseObject ( )

Definition at line 694 of file Core/CoreXmlFile.cpp.

STDMETHODIMP CCoreXmlFile::CloseObject ( )
STDMETHODIMP CCoreXmlFile::CloseProject ( VARIANT_BOOL  abort = VARIANT_FALSE)

Definition at line 767 of file Core/CoreXmlFile.cpp.

STDMETHODIMP CCoreXmlFile::CloseProject ( VARIANT_BOOL  abort = VARIANT_FALSE)
void CCoreXmlFile::commitHashedFolders ( ) [protected]

Definition at line 5363 of file XmlBackEnd/CoreXmlFile.cpp.

bool CCoreXmlFile::commitSVN ( const std::string p_dirOrFile,
const std::string p_comment,
bool  p_initialCommit = false,
bool  p_noUnlock = false 
) [protected]

Definition at line 5770 of file XmlBackEnd/CoreXmlFile.cpp.

Definition at line 802 of file Core/CoreXmlFile.cpp.

Definition at line 5338 of file XmlBackEnd/CoreXmlFile.cpp.

void CCoreXmlFile::createNonversioned ( ) [protected]

Definition at line 5323 of file XmlBackEnd/CoreXmlFile.cpp.

STDMETHODIMP CCoreXmlFile::CreateObject ( objid_type objid)

Definition at line 671 of file Core/CoreXmlFile.cpp.

STDMETHODIMP CCoreXmlFile::CreateObject ( objid_type objid)
STDMETHODIMP CCoreXmlFile::CreateProject ( BSTR  connection)

Definition at line 733 of file Core/CoreXmlFile.cpp.

STDMETHODIMP CCoreXmlFile::CreateProject ( BSTR  connection)
void CCoreXmlFile::createProjectFile ( ) [protected]

Definition at line 3238 of file XmlBackEnd/CoreXmlFile.cpp.

void CCoreXmlFile::createProjectFolder ( ) [protected]

Definition at line 5450 of file XmlBackEnd/CoreXmlFile.cpp.

Definition at line 5472 of file XmlBackEnd/CoreXmlFile.cpp.

STDMETHODIMP CCoreXmlFile::DeleteObject ( )

Definition at line 705 of file Core/CoreXmlFile.cpp.

STDMETHODIMP CCoreXmlFile::DeleteObject ( )
void CCoreXmlFile::deleteObject ( XmlObject obj) [protected]

Definition at line 2362 of file XmlBackEnd/CoreXmlFile.cpp.

STDMETHODIMP CCoreXmlFile::DeleteProject ( )

Definition at line 789 of file Core/CoreXmlFile.cpp.

STDMETHODIMP CCoreXmlFile::DeleteProject ( )

Definition at line 5942 of file XmlBackEnd/CoreXmlFile.cpp.

XERCES_CPP_NAMESPACE::DOMDocument * CCoreXmlFile::enclosedParse ( const std::string p_fileName,
XERCES_CPP_NAMESPACE::DOMLSParser *  p_parser,
bool *  p_success 
) [protected]

Definition at line 6105 of file XmlBackEnd/CoreXmlFile.cpp.

bool CCoreXmlFile::fileModifiedByOthers ( XmlObject obj) [protected]

Definition at line 6031 of file XmlBackEnd/CoreXmlFile.cpp.

Definition at line 5965 of file XmlBackEnd/CoreXmlFile.cpp.

bool CCoreXmlFile::filesModifiedByOthersV3 ( XmlObjSet readOnlyFiles,
XmlObjSet latentFiles 
) [protected]

Definition at line 5997 of file XmlBackEnd/CoreXmlFile.cpp.

void CCoreXmlFile::fillParentMap ( ) [protected]

Definition at line 835 of file Core/CoreXmlFile.cpp.

void CCoreXmlFile::fillParentMap ( ) [protected]
void CCoreXmlFile::findAllRwObjs ( const std::string p_folderPath,
std::vector< std::string > &  p_rw_file_vec 
) [protected]

Definition at line 5698 of file XmlBackEnd/CoreXmlFile.cpp.

CTime CCoreXmlFile::findEarliestLogin ( int  p_nbOfDays,
int  p_nbOfHours,
int  p_nbOfMinutes 
) [protected]

Definition at line 5121 of file XmlBackEnd/CoreXmlFile.cpp.

bool CCoreXmlFile::findInFile ( const std::string p_filename,
const std::string p_gd 
) [protected]

Definition at line 5180 of file XmlBackEnd/CoreXmlFile.cpp.

bool CCoreXmlFile::findOnProtectedLists ( GUID  p_gd,
std::string p_scapegoatUser 
) [protected]

Definition at line 5026 of file XmlBackEnd/CoreXmlFile.cpp.

void CCoreXmlFile::fullReadContainer ( XmlObject container) [protected]

Definition at line 3638 of file XmlBackEnd/CoreXmlFile.cpp.

STDMETHODIMP CCoreXmlFile::get_AttributeValue ( VARIANT *  p)

Definition at line 574 of file Core/CoreXmlFile.cpp.

STDMETHODIMP CCoreXmlFile::get_AttributeValue ( VARIANT *  p)
STDMETHODIMP CCoreXmlFile::get_AttrID ( attrid_type p)

Definition at line 538 of file Core/CoreXmlFile.cpp.

STDMETHODIMP CCoreXmlFile::get_AttrID ( attrid_type p)

Definition at line 499 of file Core/CoreXmlFile.cpp.

STDMETHODIMP CCoreXmlFile::get_MetaID ( metaid_type p)

Definition at line 466 of file Core/CoreXmlFile.cpp.

STDMETHODIMP CCoreXmlFile::get_MetaID ( metaid_type p)

Definition at line 431 of file Core/CoreXmlFile.cpp.

Definition at line 414 of file Core/CoreXmlFile.cpp.

STDMETHODIMP CCoreXmlFile::get_StorageType ( long *  p)

Definition at line 828 of file Core/CoreXmlFile.cpp.

STDMETHODIMP CCoreXmlFile::get_StorageType ( long *  p)
void CCoreXmlFile::getAllTheWayDown ( XmlObject obj,
XmlObjSet containers 
) [protected]

Definition at line 2849 of file XmlBackEnd/CoreXmlFile.cpp.

void CCoreXmlFile::getAllUpAndDown ( XmlObjSet objects,
XmlObjSet containers 
) [protected]

Definition at line 2817 of file XmlBackEnd/CoreXmlFile.cpp.

void CCoreXmlFile::getBasesOf ( XmlObjSet objects,
XmlObjSet containers 
) [protected]

Definition at line 2783 of file XmlBackEnd/CoreXmlFile.cpp.

void CCoreXmlFile::getBasesOfObj ( XmlObject obj,
XmlObjSet containers 
) [protected]

Definition at line 2764 of file XmlBackEnd/CoreXmlFile.cpp.

void CCoreXmlFile::getCheckOutContainers ( XmlObjSet objects,
XmlObjSet containers,
bool  thorough = false 
) [protected]

Definition at line 2874 of file XmlBackEnd/CoreXmlFile.cpp.

void CCoreXmlFile::getCollection ( XmlAttrCollection attr,
VARIANT *  p 
) [protected]

Definition at line 1104 of file Core/CoreXmlFile.cpp.

void CCoreXmlFile::getCollection ( XmlAttrCollection attr,
VARIANT *  p 
) [protected]
void CCoreXmlFile::getContainedObjects ( XmlObject obj,
XmlObjVec vec 
) [protected]

Definition at line 2668 of file XmlBackEnd/CoreXmlFile.cpp.

Definition at line 2652 of file XmlBackEnd/CoreXmlFile.cpp.

void CCoreXmlFile::getContainerFileName ( XmlObject obj,
std::string str,
bool  fullpath = true 
) [protected]

Definition at line 2262 of file XmlBackEnd/CoreXmlFile.cpp.

void CCoreXmlFile::getContainerName ( XmlObject obj,
std::string name,
std::string type 
) [protected]

Definition at line 2309 of file XmlBackEnd/CoreXmlFile.cpp.

void CCoreXmlFile::getDependentContainers ( XmlObject obj,
XmlObjSet containers,
XmlObjSet processedObjects,
bool  thorough = false 
) [protected]

Definition at line 2881 of file XmlBackEnd/CoreXmlFile.cpp.

void CCoreXmlFile::getDeriveds ( XmlObject obj,
XmlObjSet containers 
) [protected]

Definition at line 2790 of file XmlBackEnd/CoreXmlFile.cpp.

DOMLSParser * CCoreXmlFile::getFreshParser ( const std::string p_whoIsTheUser,
DOMImplementationLS **  p_ptrRetDomImpl = 0 
)

Definition at line 6151 of file XmlBackEnd/CoreXmlFile.cpp.

void CCoreXmlFile::getLatestAndLoad ( ) [protected]

Definition at line 4080 of file XmlBackEnd/CoreXmlFile.cpp.

void CCoreXmlFile::getLatestVersion ( ) [protected]

Definition at line 5267 of file XmlBackEnd/CoreXmlFile.cpp.

void CCoreXmlFile::getMyDepObj ( XmlObject obj,
XmlObjSet containers,
XmlObjSet processedObjects,
bool  thorough 
) [protected]

Definition at line 2710 of file XmlBackEnd/CoreXmlFile.cpp.

void CCoreXmlFile::getMyDepObjConts ( XmlObjSet objects,
XmlObjSet containers,
bool  thorough 
) [protected]

Definition at line 2693 of file XmlBackEnd/CoreXmlFile.cpp.

void CCoreXmlFile::getPointer ( XmlAttrPointer attr,
VARIANT *  p 
) [protected]

Definition at line 1096 of file Core/CoreXmlFile.cpp.

void CCoreXmlFile::getPointer ( XmlAttrPointer attr,
VARIANT *  p 
) [protected]
void CCoreXmlFile::getSourceSafePath ( XmlObject obj,
std::string str 
) [protected]
void CCoreXmlFile::getSVCurrentOwner ( XmlObject obj,
std::string user,
bool &  newfile 
) [protected]

Definition at line 5566 of file XmlBackEnd/CoreXmlFile.cpp.

void CCoreXmlFile::getSVLastCommiter ( XmlObject obj,
std::string user 
) [protected]

Definition at line 5555 of file XmlBackEnd/CoreXmlFile.cpp.

bool CCoreXmlFile::getUserCredentialInfo ( int  p_svnText,
bool  p_requireLogin 
) [protected]

Definition at line 4126 of file XmlBackEnd/CoreXmlFile.cpp.

std::vector< LoggedIn > CCoreXmlFile::getUsersFromSignFile ( ) [protected]

Definition at line 5088 of file XmlBackEnd/CoreXmlFile.cpp.

void CCoreXmlFile::incrementalUpdate ( ) [protected]

Definition at line 1487 of file Core/CoreXmlFile.cpp.

bool CCoreXmlFile::infoSVN ( const std::string p_url,
bool  p_recursive,
std::string p_resultMsg,
std::string p_author,
std::string p_owner 
) [protected]

Definition at line 5803 of file XmlBackEnd/CoreXmlFile.cpp.

bool CCoreXmlFile::isCheckedOutByElseSVN ( const std::string p_file) [protected]

Definition at line 5617 of file XmlBackEnd/CoreXmlFile.cpp.

bool CCoreXmlFile::isContainerReadOnly ( XmlObject obj) [protected]

Definition at line 4159 of file XmlBackEnd/CoreXmlFile.cpp.

bool CCoreXmlFile::isContinerCheckedOut ( XmlObject obj) [protected]

Definition at line 4175 of file XmlBackEnd/CoreXmlFile.cpp.

bool CCoreXmlFile::isSV ( ) [inline, protected]

Definition at line 5080 of file XmlBackEnd/CoreXmlFile.cpp.

bool CCoreXmlFile::isUrlSvnSsh ( ) [protected]

Definition at line 2137 of file XmlBackEnd/CoreXmlFile.cpp.

bool CCoreXmlFile::isVersionedInSVN ( const std::string p_file,
bool  p_isADir = false,
bool  p_suppressErrorMsg = false 
) [protected]

Definition at line 5798 of file XmlBackEnd/CoreXmlFile.cpp.

Definition at line 5114 of file XmlBackEnd/CoreXmlFile.cpp.

void CCoreXmlFile::loadDirs ( const std::string p_dir,
UnresolvedPointerVec p_pointers,
bool  p_fullLoad 
) [protected]

Definition at line 3966 of file XmlBackEnd/CoreXmlFile.cpp.

void CCoreXmlFile::loadFrom ( const std::string p_dir,
UnresolvedPointerVec p_pointers,
bool  p_fullLoad 
) [protected]

Definition at line 3948 of file XmlBackEnd/CoreXmlFile.cpp.

bool CCoreXmlFile::lockablePropertySVN ( const std::string p_file) [protected]

Definition at line 5676 of file XmlBackEnd/CoreXmlFile.cpp.

STDMETHODIMP CCoreXmlFile::LockObject ( )

Definition at line 700 of file Core/CoreXmlFile.cpp.

STDMETHODIMP CCoreXmlFile::LockObject ( )

Definition at line 6068 of file XmlBackEnd/CoreXmlFile.cpp.

bool CCoreXmlFile::makeSureFileExistsInVerSys ( const std::string p_fname,
const std::string p_initialcontent,
bool  p_needsLock = true 
) [protected]

Definition at line 5214 of file XmlBackEnd/CoreXmlFile.cpp.

bool CCoreXmlFile::mkdirSVN ( const std::string p_url,
const std::string p_newDirName,
const std::string p_localPath 
) [protected]

Definition at line 5665 of file XmlBackEnd/CoreXmlFile.cpp.

void CCoreXmlFile::newDOMObjs ( XERCES_CPP_NAMESPACE::DOMImplementationLS **  p_domImpl,
std::auto_ptr< XERCES_CPP_NAMESPACE::DOMLSParser > &  p_domParser,
std::auto_ptr< XERCES_CPP_NAMESPACE::DOMErrorHandler > &  p_domErrHandler 
) [protected]

Definition at line 6087 of file XmlBackEnd/CoreXmlFile.cpp.

Definition at line 1117 of file Core/CoreXmlFile.cpp.

void CCoreXmlFile::objIdFromObject ( XmlObject obj,
metaobjidpair_type idpair 
) [protected]

Definition at line 1128 of file Core/CoreXmlFile.cpp.

void CCoreXmlFile::objIdFromObject ( XmlObject obj,
metaobjidpair_type idpair 
) [protected]
void CCoreXmlFile::openMetaAttribute ( ) [protected]

Definition at line 878 of file Core/CoreXmlFile.cpp.

void CCoreXmlFile::openMetaAttribute ( ) [protected]
void CCoreXmlFile::openMetaObject ( ) [protected]

Definition at line 864 of file Core/CoreXmlFile.cpp.

void CCoreXmlFile::openMetaObject ( ) [protected]
STDMETHODIMP CCoreXmlFile::OpenObject ( objid_type  objid)

Definition at line 652 of file Core/CoreXmlFile.cpp.

STDMETHODIMP CCoreXmlFile::OpenObject ( objid_type  objid)
STDMETHODIMP CCoreXmlFile::OpenProject ( BSTR  connection,
VARIANT_BOOL *  ro_mode 
)

Definition at line 710 of file Core/CoreXmlFile.cpp.

STDMETHODIMP CCoreXmlFile::OpenProject ( BSTR  connection,
VARIANT_BOOL *  ro_mode 
)
void CCoreXmlFile::parseConnectionString ( BSTR  connection) [protected]

Definition at line 2030 of file XmlBackEnd/CoreXmlFile.cpp.

void CCoreXmlFile::protect ( XmlObject obj,
OpCode  oc 
) [protected]

Definition at line 5020 of file XmlBackEnd/CoreXmlFile.cpp.

STDMETHODIMP CCoreXmlFile::put_AttributeValue ( VARIANT  p)

Definition at line 611 of file Core/CoreXmlFile.cpp.

STDMETHODIMP CCoreXmlFile::put_AttributeValue ( VARIANT  p)

Definition at line 547 of file Core/CoreXmlFile.cpp.

Definition at line 506 of file Core/CoreXmlFile.cpp.

Definition at line 473 of file Core/CoreXmlFile.cpp.

Definition at line 438 of file Core/CoreXmlFile.cpp.

Definition at line 421 of file Core/CoreXmlFile.cpp.

void CCoreXmlFile::readAll ( ) [protected]

Definition at line 1465 of file Core/CoreXmlFile.cpp.

void CCoreXmlFile::readAll ( bool  fullLoad) [protected]

Definition at line 3998 of file XmlBackEnd/CoreXmlFile.cpp.

bool CCoreXmlFile::readBinaryCache ( ) [protected]

Definition at line 1184 of file Core/CoreXmlFile.cpp.

bool CCoreXmlFile::readBinaryCache ( ) [protected]
void CCoreXmlFile::readObject ( XERCES_CPP_NAMESPACE::DOMElement *  e,
UnresolvedPointerVec pointers,
XmlObject parent 
) [protected]
void CCoreXmlFile::readObject ( XERCES_CPP_NAMESPACE::DOMElement *  e,
UnresolvedPointerVec pointers,
XmlObject parent,
bool  fullLoad,
CTime  lastWriteTime 
) [protected]
void CCoreXmlFile::readProjectFile ( ) [protected]

Definition at line 3273 of file XmlBackEnd/CoreXmlFile.cpp.

void CCoreXmlFile::readXMLFile ( const char *  fileName,
UnresolvedPointerVec pointers 
) [protected]

Definition at line 1349 of file Core/CoreXmlFile.cpp.

void CCoreXmlFile::readXMLFile ( const char *  fileName,
UnresolvedPointerVec pointers,
bool  fullLoad 
) [protected]

Definition at line 3651 of file XmlBackEnd/CoreXmlFile.cpp.

void CCoreXmlFile::refreshSessionFolder ( ) [protected]

Definition at line 5151 of file XmlBackEnd/CoreXmlFile.cpp.

bool CCoreXmlFile::removeLockSVN ( const std::string p_file) [protected]

Definition at line 5660 of file XmlBackEnd/CoreXmlFile.cpp.

void CCoreXmlFile::removeObject ( XmlObject obj) [protected]

Definition at line 975 of file Core/CoreXmlFile.cpp.

void CCoreXmlFile::replaceUserName ( const std::string p_username) [protected]

Definition at line 5064 of file XmlBackEnd/CoreXmlFile.cpp.

void CCoreXmlFile::resetSettings ( ) [protected]

Definition at line 1550 of file XmlBackEnd/CoreXmlFile.cpp.

Definition at line 2592 of file XmlBackEnd/CoreXmlFile.cpp.

void CCoreXmlFile::resetSourceControlInfo ( XmlObject obj) [protected]

Definition at line 2579 of file XmlBackEnd/CoreXmlFile.cpp.

void CCoreXmlFile::resetSourceControlStat ( XmlObject obj,
bool  freshObj 
) [protected]

Definition at line 2611 of file XmlBackEnd/CoreXmlFile.cpp.

void CCoreXmlFile::resolvePointers ( UnresolvedPointerVec pointers) [protected]

Definition at line 1073 of file Core/CoreXmlFile.cpp.

void CCoreXmlFile::resolvePointers ( UnresolvedPointerVec pointers) [protected]

Definition at line 4202 of file XmlBackEnd/CoreXmlFile.cpp.

STDMETHODIMP CCoreXmlFile::SaveProject ( BSTR  connection,
VARIANT_BOOL  keepoldname = VARIANT_TRUE 
)

Definition at line 762 of file Core/CoreXmlFile.cpp.

STDMETHODIMP CCoreXmlFile::SaveProject ( BSTR  connection,
VARIANT_BOOL  keepoldname 
)
void CCoreXmlFile::sendMsg ( const std::string p_msgStr,
int  mtype 
)

Definition at line 6063 of file XmlBackEnd/CoreXmlFile.cpp.

void CCoreXmlFile::setFileNames ( bool  reset = false) [protected]

Definition at line 2201 of file XmlBackEnd/CoreXmlFile.cpp.

void CCoreXmlFile::setFolderPathOnCreate ( BSTR  connection) [protected]

Definition at line 895 of file Core/CoreXmlFile.cpp.

void CCoreXmlFile::setFolderPathOnOpen ( BSTR  connection) [protected]

Definition at line 920 of file Core/CoreXmlFile.cpp.

void CCoreXmlFile::setPointer ( XmlObject obj,
attrid_type  attribId,
XmlObject pointed 
) [protected]

Definition at line 1010 of file Core/CoreXmlFile.cpp.

void CCoreXmlFile::setPointer ( XmlAttrPointer attr,
VARIANT  p 
) [protected]

Definition at line 1044 of file Core/CoreXmlFile.cpp.

void CCoreXmlFile::setPointer ( XmlObject obj,
attrid_type  attribId,
XmlObject pointed 
) [protected]
XmlObject * CCoreXmlFile::setPointer ( VARIANT  p) [protected]

Definition at line 2431 of file XmlBackEnd/CoreXmlFile.cpp.

void CCoreXmlFile::setSourceControlNodes ( XmlObject container,
long  lInfo,
long  lStat 
) [protected]

Definition at line 5844 of file XmlBackEnd/CoreXmlFile.cpp.

void CCoreXmlFile::showUsedFiles ( XmlObjSet containers,
bool  p_latentMessage = false 
) [protected]

Definition at line 5808 of file XmlBackEnd/CoreXmlFile.cpp.

void CCoreXmlFile::socoAdd ( const std::string p_path,
bool  p_recursive 
) [protected]

Definition at line 5404 of file XmlBackEnd/CoreXmlFile.cpp.

void CCoreXmlFile::socoCommit ( const std::string p_path,
const std::string p_comment,
bool  p_initial 
) [protected]

Definition at line 5416 of file XmlBackEnd/CoreXmlFile.cpp.

bool CCoreXmlFile::specialUserInquiryHandled ( VARIANT  p) [protected]

Definition at line 875 of file XmlBackEnd/CoreXmlFile.cpp.

void CCoreXmlFile::svnOptions ( ) [protected]

Definition at line 2179 of file XmlBackEnd/CoreXmlFile.cpp.

void CCoreXmlFile::svnSetup ( bool  createOrOpen) [protected]

Definition at line 5456 of file XmlBackEnd/CoreXmlFile.cpp.

void CCoreXmlFile::svnSshHandling ( ) [protected]

Definition at line 2152 of file XmlBackEnd/CoreXmlFile.cpp.

std::string CCoreXmlFile::svnSshMangling ( const std::string p_url) [protected]

Definition at line 2167 of file XmlBackEnd/CoreXmlFile.cpp.

void CCoreXmlFile::testSubversion ( ) [protected]

Definition at line 5433 of file XmlBackEnd/CoreXmlFile.cpp.

void CCoreXmlFile::timestampOfCache ( FILETIME *  p_fTime) [protected]

Definition at line 3098 of file XmlBackEnd/CoreXmlFile.cpp.

void CCoreXmlFile::timeSync ( const char *  fileName,
XmlObject container 
) [protected]

Definition at line 3380 of file XmlBackEnd/CoreXmlFile.cpp.

void CCoreXmlFile::updateCollections ( ) [protected]

Definition at line 1052 of file Core/CoreXmlFile.cpp.

void CCoreXmlFile::updateCollections ( ) [protected]
void CCoreXmlFile::updateSourceControlInfo ( XmlObject container) [protected]

Definition at line 5888 of file XmlBackEnd/CoreXmlFile.cpp.

Definition at line 5932 of file XmlBackEnd/CoreXmlFile.cpp.

bool CCoreXmlFile::updateSVN ( const std::string p_dirOrFile) [protected]

Definition at line 5793 of file XmlBackEnd/CoreXmlFile.cpp.

bool CCoreXmlFile::userFilter ( CTimeSpan &  p_elapsed) [protected]

Definition at line 5082 of file XmlBackEnd/CoreXmlFile.cpp.

Definition at line 5070 of file XmlBackEnd/CoreXmlFile.cpp.

Definition at line 2142 of file XmlBackEnd/CoreXmlFile.cpp.

void CCoreXmlFile::whoControlsThis ( XmlObject container = 0) [protected]

Definition at line 5857 of file XmlBackEnd/CoreXmlFile.cpp.

void CCoreXmlFile::writeAll ( ) [protected]

Definition at line 1237 of file Core/CoreXmlFile.cpp.

void CCoreXmlFile::writeAll ( ) [protected]
void CCoreXmlFile::writeBinaryCache ( ) [protected]

Definition at line 1145 of file Core/CoreXmlFile.cpp.

void CCoreXmlFile::writeBinaryCache ( ) [protected]
void CCoreXmlFile::writeObject ( XmlObject obj,
FILE *  file,
bool  container,
const char *  prefix 
) [protected]

Definition at line 1275 of file Core/CoreXmlFile.cpp.

void CCoreXmlFile::writeObject ( XmlObject obj,
Transcoder file,
bool  container,
const char *  prefix,
CTime  lastWriteTime 
) [protected]

Definition at line 3491 of file XmlBackEnd/CoreXmlFile.cpp.

void CCoreXmlFile::writeXMLFile ( XmlObject container) [protected]

Definition at line 1251 of file Core/CoreXmlFile.cpp.

void CCoreXmlFile::writeXMLFile ( XmlObject container) [protected]

Member Data Documentation

Definition at line 359 of file Core/CoreXmlFile.h.

Definition at line 796 of file XmlBackEnd/CoreXmlFile.h.

Definition at line 753 of file XmlBackEnd/CoreXmlFile.h.

const char * CCoreXmlFile::m_contentConst = "contents" [static, protected]

Definition at line 795 of file XmlBackEnd/CoreXmlFile.h.

Definition at line 794 of file XmlBackEnd/CoreXmlFile.h.

Definition at line 825 of file XmlBackEnd/CoreXmlFile.h.

std::vector< XmlObject*> CCoreXmlFile::m_deldObjs [protected]

Definition at line 834 of file XmlBackEnd/CoreXmlFile.h.

Definition at line 826 of file XmlBackEnd/CoreXmlFile.h.

Definition at line 358 of file Core/CoreXmlFile.h.

Definition at line 793 of file XmlBackEnd/CoreXmlFile.h.

Definition at line 815 of file XmlBackEnd/CoreXmlFile.h.

Definition at line 717 of file XmlBackEnd/CoreXmlFile.h.

Definition at line 719 of file XmlBackEnd/CoreXmlFile.h.

Definition at line 718 of file XmlBackEnd/CoreXmlFile.h.

Definition at line 360 of file Core/CoreXmlFile.h.

Definition at line 349 of file Core/CoreXmlFile.h.

Definition at line 350 of file Core/CoreXmlFile.h.

Definition at line 351 of file Core/CoreXmlFile.h.

Definition at line 345 of file Core/CoreXmlFile.h.

Definition at line 346 of file Core/CoreXmlFile.h.

Definition at line 342 of file Core/CoreXmlFile.h.

bool CCoreXmlFile::m_modified [protected]

Definition at line 357 of file Core/CoreXmlFile.h.

Definition at line 824 of file XmlBackEnd/CoreXmlFile.h.

Definition at line 725 of file XmlBackEnd/CoreXmlFile.h.

Definition at line 363 of file Core/CoreXmlFile.h.

Definition at line 364 of file Core/CoreXmlFile.h.

bool CCoreXmlFile::m_opened [protected]

Definition at line 356 of file Core/CoreXmlFile.h.

Definition at line 365 of file Core/CoreXmlFile.h.

Definition at line 792 of file XmlBackEnd/CoreXmlFile.h.

Definition at line 353 of file Core/CoreXmlFile.h.

Definition at line 797 of file XmlBackEnd/CoreXmlFile.h.

Definition at line 798 of file XmlBackEnd/CoreXmlFile.h.

Definition at line 830 of file XmlBackEnd/CoreXmlFile.h.

Definition at line 366 of file Core/CoreXmlFile.h.

bool CCoreXmlFile::m_savedOnce [protected]

Definition at line 800 of file XmlBackEnd/CoreXmlFile.h.

Definition at line 831 of file XmlBackEnd/CoreXmlFile.h.

Definition at line 803 of file XmlBackEnd/CoreXmlFile.h.

std::auto_ptr<HiClient> CCoreXmlFile::m_svn [protected]

Definition at line 723 of file XmlBackEnd/CoreXmlFile.h.

Definition at line 721 of file XmlBackEnd/CoreXmlFile.h.

Definition at line 720 of file XmlBackEnd/CoreXmlFile.h.

Definition at line 716 of file XmlBackEnd/CoreXmlFile.h.

Definition at line 814 of file XmlBackEnd/CoreXmlFile.h.

Definition at line 823 of file XmlBackEnd/CoreXmlFile.h.

Definition at line 833 of file XmlBackEnd/CoreXmlFile.h.

Definition at line 805 of file XmlBackEnd/CoreXmlFile.h.

Definition at line 808 of file XmlBackEnd/CoreXmlFile.h.

Definition at line 806 of file XmlBackEnd/CoreXmlFile.h.

Definition at line 807 of file XmlBackEnd/CoreXmlFile.h.

friend CCoreXmlFile::ProtectList [protected]

Definition at line 838 of file XmlBackEnd/CoreXmlFile.h.

friend CCoreXmlFile::PublicStorage [protected]

Definition at line 836 of file XmlBackEnd/CoreXmlFile.h.

friend CCoreXmlFile::SignManager [protected]

Definition at line 837 of file XmlBackEnd/CoreXmlFile.h.


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