Global.
More...
#include <gdcmGlobal.h>
List of all members.
Static Public Member Functions |
static Global & | GetInstance () |
| return the singleton instance
|
Protected Member Functions |
const char * | Locate (const char *resfile) const |
| Locate a ressource file.
|
Detailed Description
Global.
- Note:
- Global should be included in any translation unit that will use Dict or that implements the singleton pattern. It makes sure that the Dict singleton is created before and destroyed after all other singletons in GDCM.
- Examples:
- GenAllVR.cxx, GenerateStandardSOPClasses.cxx, GenFakeIdentifyFile.cxx, PublicDict.cxx, ReadAndPrintAttributes.cxx, and TraverseModules.cxx.
Constructor & Destructor Documentation
gdcm::Global::~Global |
( |
| ) |
|
Member Function Documentation
bool gdcm::Global::Append |
( |
const char * |
path | ) |
|
Append path at the end of the path list
- Warning:
- not thread safe !
Defs const& gdcm::Global::GetDefs |
( |
| ) |
const |
Dicts const& gdcm::Global::GetDicts |
( |
| ) |
const |
Dicts& gdcm::Global::GetDicts |
( |
| ) |
|
static Global& gdcm::Global::GetInstance |
( |
| ) |
|
|
static |
bool gdcm::Global::LoadResourcesFiles |
( |
| ) |
|
Load all internal XML files, ressource path need to have been set before calling this member function (see Append/Prepend members func)
- Warning:
- not thread safe !
- Examples:
- GenerateStandardSOPClasses.cxx.
const char* gdcm::Global::Locate |
( |
const char * |
resfile | ) |
const |
|
protected |
bool gdcm::Global::Prepend |
( |
const char * |
path | ) |
|
Prepend path at the begining of the path list
- Warning:
- not thread safe !
Friends And Related Function Documentation
std::ostream& operator<< |
( |
std::ostream & |
_os, |
|
|
const Global & |
g |
|
) |
| |
|
friend |
The documentation for this class was generated from the following file: