Inheritance diagram for MSIDir:
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, string > | fgGuids |
static map< string, string > | fgNewGuids |
static const char * | fgGuidFileName |
Definition at line 73 of file makemsi.cxx.
MSIDir::MSIDir | ( | const char * | name, | |
MSIDir * | parent = 0 | |||
) | [inline] |
MSIDir::~MSIDir | ( | ) | [inline] |
void MSIDir::AddFile | ( | const char * | file | ) |
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().
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] |
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] |