53 #include "IMetadata.h"
55 #include "system/compat/SystemCompat.h"
56 using namespace ::br::pucrio::telemidia::ginga::core::system::compat;
67 namespace dataprocessing {
74 double targetTotalLen;
78 map<int, IDataFile*>* dataFiles;
86 double getTotalLength();
87 void setTargetTotalLength(
double targetSize);
88 bool isConsolidated();
90 void setBaseUri(
string uri);
93 void setRootObject(
IDataFile* rootObject);
98 map<int, IDataFile*>* getDataFiles();
101 bool updateTotalLength(
IDataFile* dataFile);
104 vector<StreamData*>* createNCLSections();
107 bool createMetadataFile();
108 void closeMetadataFile();
110 void openMetadataElement();
111 void closeMetadataElement();
113 void openBaseDataElement();
114 void closeBaseDataElement();
116 void writeRootElement(
117 string sId,
string uri,
string size,
string componentTag);
119 void writeDataElement(
120 string sId,
string uri,
string size,
string componentTag);
122 void copyContent(
string uri,
char* stream,
int fileSize);
131 static int getFileSize(
string uri);
141 #endif //_Metadata_H_
Definition: Metadata.h:69
Definition: IMetadata.h:74
Definition: IMetadata.h:69
Definition: IDataFile.h:65