std::string dbpath = GetLocalDatabasePath();
// Create or open local database
- std::string dpath= mCurrentDirectory + "/.gimmick/Shared/gimmick/localdatabase_Descriptor.txt";
+ std::string dpath= mCurrentDirectory + "/.gimmick/Shared/gimmick/localdatabase_Descriptor.scp";
boost::algorithm::replace_all( dpath,
INVALID_FILE_SEPARATOR ,
VALID_FILE_SEPARATOR);
path=path.substr(0,path.size()-1);
path=path.substr(0,path.find_last_of("/"));
//Creating directories
- path+="/bin/Shared/gimmick/localdatabase_Descriptor.txt";
+ path+="/bin/Shared/gimmick/localdatabase_Descriptor.dscp";
std::cout<<"From: "<<path<<std::endl;
std::cout<<"To: "<<setDir<<std::endl;
boost::algorithm::replace_all( path,
--- /dev/null
+<level>
+Root
+O Name Name 4
+<level>
+Patient
+O NumberOfChildren #Series
+D 0x0010 0x0010 4
+D 0x0010 0x0040 3
+D 0x0010 0x0030 3
+D 0x0010 0x0020 2
+<level>
+Series
+O NumberOfChildren #Images
+D 0x0008 0x0060 4
+D 0x0008 0x1030 3
+D 0x0008 0x103E 3
+D 0x0008 0x0080 3
+D 0x0008 0x0081 3
+D 0x0008 0x1010 3
+D 0x0008 0x1048 3
+D 0x0008 0x1050 3
+D 0x0018 0x1030 3
+D 0x0020 0x0010 3
+D 0x0008 0x0020 3
+D 0x0008 0x0030 3
+D 0x0008 0x0050 3
+D 0x0008 0x0005 3
+D 0x0008 0x0021 3
+D 0x0008 0x0031 3
+D 0x0020 0x000D 3
+D 0x0020 0x000E 2
+<level>
+Image
+D 0x0020 0x0013 3
+D 0x0028 0x0010 3
+D 0x0028 0x0011 3
+D 0x0028 0x0008 3
+D 0x0028 0x0103 3
+D 0x0020 0x0032 3
+D 0x0020 0x0037 3
+D 0x0020 0x1041 3
+D 0x0028 0x0030 3
+D 0x0028 0x0100 3
+D 0x0028 0x0101 3
+D 0x0008 0x0008 3
+D 0x0008 0x0023 3
+D 0x0008 0x0033 3
+D 0x0020 0x4000 3
+D 0x0004 0x1500 4
+D 0x0028 0x1052 3
+D 0x0028 0x1053 3
+D 0x0050 0x0004 3
+D 0x0020 0x0052 3
+D 0x0008 0x0016 3
+O FullFileName Full_file_name 2