Simulacrum  1.2
Public Types | Public Member Functions | Static Public Member Functions | List of all members
Simulacrum::SDICOMArch Class Reference

#include <sarch.h>

Inheritance diagram for Simulacrum::SDICOMArch:
Inheritance graph
Collaboration diagram for Simulacrum::SDICOMArch:
Collaboration graph

Public Types

enum  ImportModes { LeaveAlone , CopyToBase , MoveToBase }
 
- Public Types inherited from Simulacrum::SConnectable
typedef unsigned ssignal_t
 
typedef bool sdepth_t
 

Public Member Functions

 SDICOMArch ()
 
virtual ~SDICOMArch ()
 
void setTitle (const std::string &path)
 
std::string getTitle ()
 
void setFSBase (const std::string &path)
 
std::string getFSBase ()
 
void setDICOMNetQuery (const std::string &)
 
std::string getDICOMNetQuery ()
 
void setWADOURI (const std::string &)
 
std::string getWADOURI ()
 
void setImportDirective (const std::string &path)
 
std::string getImportDirective ()
 
void importFile (const std::string &path, ImportModes importmode=LeaveAlone, bool addexemplar=true, bool forceexmplar=false, bool stripexemplar=true, long int maxreadsize=-1)
 
void changeLocation (const std::string &)
 
- Public Member Functions inherited from Simulacrum::SDCMArch
 SDCMArch ()
 
virtual ~SDCMArch ()
 
int setLocation (const std::string &)
 
bool isValid () const
 
const std::string & getLocation () const
 
void loadArchive ()
 
void storeArchive ()
 
void store ()
 
SDCMArchNodegetRootNodeChild ()
 
SDCMArchNodegetRootNode ()
 
SAbsTreeNodegetRoot ()
 
void clear ()
 
void refresh (bool)
 
std::string getInfo (const std::string &path="")
 
bool hasArchive ()
 
bool hasSSpace (const std::string &path="")
 
void doStop (bool)
 
void getSSpaceInto (SSpace &, const std::string &path="")
 
const std::string getLocationPathID (const std::string &path="")
 
bool embeddedLoadersEnabled ()
 
void setEmbeddedLoadersEnabled (bool)
 
- Public Member Functions inherited from Simulacrum::SResource
virtual SimulacrumLibrary::str_enc stringEncoding ()
 
virtual void setStringEncoding (SimulacrumLibrary::str_enc)
 
virtual void load ()
 
virtual void loadMissingData ()
 
virtual void putSSpaceInto (SSpace &, const std::string &path="")
 
virtual SURI URI ()
 
virtual const std::string & resourceType ()
 
virtual SResourceLoaderloader ()
 
virtual void setLoader (SResourceLoader *)
 
bool isCompressed () const
 
void decompress (const std::string &target) const
 
void compress (const std::string &target) const
 
 SResource ()
 
virtual ~SResource ()
 
- Public Member Functions inherited from Simulacrum::SConnectable
 SConnectable ()
 
virtual ~SConnectable ()
 
void emitRefresh (sdepth_t)
 
virtual void signal (ssignal_t, void *=nullptr)
 
void emitSignal (ssignal_t, void *=nullptr)
 
virtual void progress (int)
 
virtual bool sconnect (SConnectable &)
 
virtual bool sconnect (SConnectable &, bool delondiscon)
 
virtual bool sdisconnect (SConnectable &)
 
virtual void disconnectSources ()
 
virtual void disconnectListeners ()
 
virtual void disconnectListeners_Refresh ()
 
virtual bool isConnected (SConnectable &) const
 
virtual bool isConnected (SConnectable *) const
 
virtual void sconfigure (const std::string &)
 
virtual SConnectableend ()
 
virtual SConnectablepenum ()
 
virtual SConnectablepred ()
 
virtual SConnectablesucc ()
 
virtual void deleteOnDisconnect (bool)
 
virtual bool deleteOnDisconnect ()
 
virtual void setName (const std::string &)
 
virtual const std::string & getName () const
 
const std::map< std::string, double > & parameters ()
 
const std::map< std::string, std::string > & properties ()
 
bool hasProperty (const std::string &) const
 
bool hasParameter (const std::string &) const
 
void setProperty (const std::string &, const std::string &)
 
void setParameter (const std::string &, double)
 
std::string getProperty (const std::string &) const
 
double getParameter (const std::string &) const
 
- Public Member Functions inherited from Simulacrum::SLockable
virtual void lock ()
 
virtual void unlock ()
 
virtual bool try_lock ()
 
virtual void wait ()
 
virtual void refIncr ()
 
virtual void refDecr ()
 
virtual int refCount ()
 
 SLockable ()
 
 SLockable (const SLockable &)
 
virtual ~SLockable ()
 

Static Public Member Functions

static const std::string defaultPath ()
 
static const std::string defaultTitle ()
 
static SDCMArchNodeimportGeneric (SDCMArchNode &target, DCMTag &source)
 
static void setGenericImportPath (SDCMArchNode &target, const std::string &path)
 
static std::string getGenericImportPath (SDCMArchNode &target)
 
static DCMTaggenExemplar (SDICOM &, bool minimal=true)
 
static DCMTagdecExemplar (DCMTag &)
 
static std::vector< std::string > wadoURIs (SDCMArchNode &root, SDCMArchNode &sspacenode)
 
static unsigned exportFiles (SDCMArchNode &root, SDCMArchNode &sspacenode, const std::string &target, SConnectable *progress=nullptr)
 
- Static Public Member Functions inherited from Simulacrum::SResource
static std::string typeString ()
 
static void loadInto (SSpace &targ, SResource &&src, const std::string &uri, const std::string &respath="")
 
static void storeInto (SSpace &src, SResource &&targ, const std::string &uri, const std::string &respath="")
 

Additional Inherited Members

- Protected Member Functions inherited from Simulacrum::SResource
void labelSSpace (SSpace &, const std::string &path)
 
- Protected Member Functions inherited from Simulacrum::SConnectable
virtual bool addListener (SConnectable &)
 
virtual bool removeListener (SConnectable &)
 
virtual bool addTarget (SConnectable &)
 
virtual bool removeTarget (SConnectable &)
 
- Protected Attributes inherited from Simulacrum::SDCMArch
SDCMArchPIMPL * PrivateData
 

Member Enumeration Documentation

◆ ImportModes

Enumerator
LeaveAlone 
CopyToBase 
MoveToBase 

Constructor & Destructor Documentation

◆ SDICOMArch()

SDICOMArch::SDICOMArch ( )

◆ ~SDICOMArch()

SDICOMArch::~SDICOMArch ( )
virtual

Member Function Documentation

◆ changeLocation()

void SDICOMArch::changeLocation ( const std::string &  newloc)
virtual

Reimplemented from Simulacrum::SDCMArch.

◆ decExemplar()

DCMTag * SDICOMArch::decExemplar ( DCMTag sourceexemplar)
static

◆ defaultPath()

const std::string SDICOMArch::defaultPath ( )
static

◆ defaultTitle()

const std::string SDICOMArch::defaultTitle ( )
static

◆ exportFiles()

unsigned int SDICOMArch::exportFiles ( SDCMArchNode root,
SDCMArchNode sspacenode,
const std::string &  target,
SConnectable progress = nullptr 
)
static

◆ genExemplar()

DCMTag * SDICOMArch::genExemplar ( SDICOM sourcedicom,
bool  minimal = true 
)
static

◆ getDICOMNetQuery()

std::string SDICOMArch::getDICOMNetQuery ( )

◆ getFSBase()

std::string SDICOMArch::getFSBase ( )

◆ getGenericImportPath()

std::string SDICOMArch::getGenericImportPath ( SDCMArchNode target)
static

◆ getImportDirective()

std::string SDICOMArch::getImportDirective ( )

◆ getTitle()

std::string SDICOMArch::getTitle ( )

◆ getWADOURI()

std::string SDICOMArch::getWADOURI ( )

◆ importFile()

void SDICOMArch::importFile ( const std::string &  path,
ImportModes  importmode = LeaveAlone,
bool  addexemplar = true,
bool  forceexmplar = false,
bool  stripexemplar = true,
long int  maxreadsize = -1 
)

◆ importGeneric()

SDCMArchNode & SDICOMArch::importGeneric ( SDCMArchNode target,
DCMTag source 
)
static

◆ setDICOMNetQuery()

void SDICOMArch::setDICOMNetQuery ( const std::string &  newval)

◆ setFSBase()

void SDICOMArch::setFSBase ( const std::string &  path)

◆ setGenericImportPath()

void SDICOMArch::setGenericImportPath ( SDCMArchNode target,
const std::string &  path 
)
static

◆ setImportDirective()

void SDICOMArch::setImportDirective ( const std::string &  path)

◆ setTitle()

void SDICOMArch::setTitle ( const std::string &  path)

◆ setWADOURI()

void SDICOMArch::setWADOURI ( const std::string &  newval)

◆ wadoURIs()

std::vector< std::string > SDICOMArch::wadoURIs ( SDCMArchNode root,
SDCMArchNode sspacenode 
)
static

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