X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmHeader.h;h=15b27ae8f6e7d803fdee03c7920638b39fb7df83;hb=153db29d779f82893684c6aac08b0a565dd84334;hp=fa33ebc8d039e96605688aedf330fcac8b02088b;hpb=b6c826571b5f85de9256b0973df29e916c40d243;p=gdcm.git diff --git a/src/gdcmHeader.h b/src/gdcmHeader.h index fa33ebc8..15b27ae8 100644 --- a/src/gdcmHeader.h +++ b/src/gdcmHeader.h @@ -47,9 +47,9 @@ private: gdcmDict* RefShaDict; /// ELement VALueS parsed with the PUBlic dictionary. - ElValSet PubElVals; + gdcmElValSet PubElVals; /// ELement VALueS parsed with the SHAdow dictionary. - ElValSet ShaElVals; + gdcmElValSet ShaElVals; /// Refering underlying filename. string filename; FILE * fp; @@ -79,6 +79,7 @@ private: void CheckSwap(void); void InitVRDict(void); void SwitchSwapToBigEndian(void); + gdcmElValue* NewManualElValToPubDict(string NewTagName, string VR); void AddAndDefaultElements(void); void SetMaxSizeLoadElementValue(long); @@ -86,16 +87,16 @@ private: gdcmDictEntry * GetDictEntryByName(string name); // ElValue related utilities - ElValue * ReadNextElement(void); - ElValue * NewElValueByKey(guint16 group, guint16 element); - ElValue * NewElValueByName(string name); - void FindLength(ElValue *); - void FindVR(ElValue *); - void LoadElementValue(ElValue *); - void LoadElementValueSafe(ElValue *); - void SkipElementValue(ElValue *); - void FixFoundLength(ElValue*, guint32); - bool IsAnInteger(ElValue *); + gdcmElValue * ReadNextElement(void); + gdcmElValue * NewElValueByKey(guint16 group, guint16 element); + gdcmElValue * NewElValueByName(string name); + void FindLength(gdcmElValue *); + void FindVR(gdcmElValue *); + void LoadElementValue(gdcmElValue *); + void LoadElementValueSafe(gdcmElValue *); + void SkipElementValue(gdcmElValue *); + void FixFoundLength(gdcmElValue*, guint32); + bool IsAnInteger(gdcmElValue *); bool IsImplicitVRLittleEndianTransferSyntax(void); bool IsExplicitVRLittleEndianTransferSyntax(void); @@ -165,7 +166,7 @@ public: int gdcmHeader::SetPubElValLengthByNumber(guint32 lgr, guint16 group, guint16 element); - ElValSet GetPubElVals() { return(PubElVals); } + gdcmElValSet GetPubElVals() { return(PubElVals); } }; #endif