MSIDir Class Reference

Inheritance diagram for MSIDir:

MSIDirEntry List of all members.

Public Member Functions

 MSIDir (const char *name, MSIDir *parent=0)
 ~MSIDir ()
void AddFile (const char *file)
void Write (ostream &out) const

Private Member Functions

void WriteRecurse (ostream &out, string indent) const
void WriteComponentsRecurse (ostream &out, string indent) const
const char * GetGuid () const
const char * CreateGuid () const

Static Private Member Functions

static void SetupGuids ()
static void UpdateGuids ()

Private Attributes

map< string, MSIDir * > fSubdirs
list< MSIFile * > fFiles

Static Private Attributes

static map< string, stringfgGuids
static map< string, stringfgNewGuids
static const char * fgGuidFileName

Detailed Description

Definition at line 73 of file makemsi.cxx.


Constructor & Destructor Documentation

MSIDir::MSIDir ( const char *  name,
MSIDir parent = 0 
) [inline]

Definition at line 75 of file makemsi.cxx.

Referenced by AddFile().

MSIDir::~MSIDir (  )  [inline]

Definition at line 76 of file makemsi.cxx.

References MSIDirEntry::GetParent(), and UpdateGuids().


Member Function Documentation

void MSIDir::AddFile ( const char *  file  ) 

Definition at line 177 of file makemsi.cxx.

References fFiles, fSubdirs, and MSIDir().

Referenced by main().

void MSIDir::Write ( ostream &  out  )  const

Definition at line 198 of file makemsi.cxx.

References bufsize, DWORD, pwd(), VERSION, WriteComponentsRecurse(), and WriteRecurse().

Referenced by main().

void MSIDir::WriteRecurse ( ostream &  out,
string  indent 
) const [private, virtual]

Implements MSIDirEntry.

Definition at line 268 of file makemsi.cxx.

References fFiles, fSubdirs, GetGuid(), MSIDirEntry::GetId(), MSIDirEntry::GetParent(), and MSIDirEntry::WriteLongShort().

Referenced by Write().

void MSIDir::WriteComponentsRecurse ( ostream &  out,
string  indent 
) const [private]

Definition at line 300 of file makemsi.cxx.

References fFiles, fSubdirs, and MSIDirEntry::GetId().

Referenced by Write().

const char* MSIDir::GetGuid (  )  const [inline, private]

Definition at line 85 of file makemsi.cxx.

References CreateGuid(), fgGuids, fgNewGuids, MSIDirEntry::GetId(), and SetupGuids().

Referenced by WriteRecurse().

const char * MSIDir::CreateGuid (  )  const [private]

Definition at line 309 of file makemsi.cxx.

References fgGuids, fgNewGuids, MSIDirEntry::GetId(), and str.

Referenced by GetGuid().

void MSIDir::SetupGuids (  )  [static, private]

Definition at line 321 of file makemsi.cxx.

References fgGuidFileName, fgGuids, getline(), id, line, and sin().

Referenced by GetGuid().

void MSIDir::UpdateGuids (  )  [static, private]

Definition at line 334 of file makemsi.cxx.

References fgGuidFileName, fgNewGuids, and out.

Referenced by ~MSIDir().


Member Data Documentation

map<string, MSIDir*> MSIDir::fSubdirs [private]

Definition at line 95 of file makemsi.cxx.

Referenced by AddFile(), WriteComponentsRecurse(), and WriteRecurse().

list<MSIFile*> MSIDir::fFiles [private]

Definition at line 96 of file makemsi.cxx.

Referenced by AddFile(), WriteComponentsRecurse(), and WriteRecurse().

map< string, string > MSIDir::fgGuids [static, private]

Definition at line 98 of file makemsi.cxx.

Referenced by CreateGuid(), GetGuid(), and SetupGuids().

map< string, string > MSIDir::fgNewGuids [static, private]

Definition at line 99 of file makemsi.cxx.

Referenced by CreateGuid(), GetGuid(), and UpdateGuids().

const char * MSIDir::fgGuidFileName [static, private]

Definition at line 100 of file makemsi.cxx.

Referenced by SetupGuids(), and UpdateGuids().


The documentation for this class was generated from the following file:
Generated on Tue Jul 5 16:31:12 2011 for ROOT_528-00b_version by  doxygen 1.5.1