|
| | FileMetaInformation () |
| |
| | FileMetaInformation (FileMetaInformation const &fmi) |
| |
| | ~FileMetaInformation () |
| |
| void | FillFromDataSet (DataSet const &ds) |
| | Construct a FileMetaInformation from an already existing DataSet: More...
|
| |
| const TransferSyntax & | GetDataSetTransferSyntax () const |
| |
| VL | GetFullLength () const |
| |
| MediaStorage | GetMediaStorage () const |
| |
| TransferSyntax::NegociatedType | GetMetaInformationTS () const |
| |
| const Preamble & | GetPreamble () const |
| | Get Preamble. More...
|
| |
| Preamble & | GetPreamble () |
| |
| void | Insert (const DataElement &de) |
| |
| bool | IsValid () const |
| |
| std::istream & | Read (std::istream &is) |
| | Read. More...
|
| |
| std::istream & | ReadCompat (std::istream &is) |
| |
| void | Replace (const DataElement &de) |
| |
| void | SetDataSetTransferSyntax (const TransferSyntax &ts) |
| |
| void | SetPreamble (const Preamble &p) |
| |
| std::ostream & | Write (std::ostream &os) const |
| | Write. More...
|
| |
| ConstIterator | Begin () const |
| |
| Iterator | Begin () |
| |
| void | Clear () |
| |
| template<typename TDE > |
| unsigned int | ComputeGroupLength (Tag const &tag) const |
| |
| ConstIterator | End () const |
| |
| Iterator | End () |
| |
| bool | FindDataElement (const PrivateTag &t) const |
| | Look up if private tag 't' is present in the dataset: More...
|
| |
| bool | FindDataElement (const Tag &t) const |
| |
| const DataElement & | FindNextDataElement (const Tag &t) const |
| |
| const DataElement & | GetDataElement (const Tag &t) const |
| |
| const DataElement & | GetDataElement (const PrivateTag &t) const |
| | Return the dataelement. More...
|
| |
| const DataElementSet & | GetDES () const |
| |
| DataElementSet & | GetDES () |
| |
| template<typename TDE > |
| VL | GetLength () const |
| |
| MediaStorage | GetMediaStorage () const |
| |
| std::string | GetPrivateCreator (const Tag &t) const |
| | Return the private creator of the private tag 't': More...
|
| |
| void | Insert (const DataElement &de) |
| |
| bool | IsEmpty () const |
| | Returns if the dataset is empty. More...
|
| |
| const DataElement & | operator() (uint16_t group, uint16_t element) const |
| |
| DataSet & | operator= (DataSet const &val) |
| |
| const DataElement & | operator[] (const Tag &t) const |
| |
| void | Print (std::ostream &os, std::string const &indent="") const |
| |
| template<typename TDE , typename TSwap > |
| std::istream & | Read (std::istream &is) |
| |
| template<typename TDE , typename TSwap > |
| std::istream & | ReadNested (std::istream &is) |
| |
| template<typename TDE , typename TSwap > |
| std::istream & | ReadSelectedTags (std::istream &is, const std::set< Tag > &tags) |
| |
| template<typename TDE , typename TSwap > |
| std::istream & | ReadSelectedTagsWithLength (std::istream &is, const std::set< Tag > &tags, VL &length) |
| |
| template<typename TDE , typename TSwap > |
| std::istream & | ReadUpToTag (std::istream &is, const Tag &t, std::set< Tag > const &skiptags) |
| |
| template<typename TDE , typename TSwap > |
| std::istream & | ReadUpToTagWithLength (std::istream &is, const Tag &t, VL &length) |
| |
| template<typename TDE , typename TSwap > |
| std::istream & | ReadWithLength (std::istream &is, VL &length) |
| |
| SizeType | Remove (const Tag &tag) |
| | Completely remove a dataelement from the dataset. More...
|
| |
| void | Replace (const DataElement &de) |
| | Replace a dataelement with another one. More...
|
| |
| void | ReplaceEmpty (const DataElement &de) |
| | Only replace a DICOM attribute when it is missing or empty. More...
|
| |
| SizeType | Size () const |
| |
| template<typename TDE , typename TSwap > |
| std::ostream const & | Write (std::ostream &os) const |
| |
Class to represent a File Meta Information.
FileMetaInformation is a Explicit Structured Set. Whenever the file contains an ImplicitDataElement DataSet, a conversion will take place.
Definition: The File Meta Information includes identifying information on the encapsulated Data Set. This header consists of a 128 byte File Preamble, followed by a 4 byte DICOM prefix, followed by the File Meta Elements shown in Table 7.1-1. This header shall be present in every DICOM file.
- See Also
- Writer Reader
- Examples:
- ClinicalTrialIdentificationWorkflow.cs, GenAllVR.cxx, GenFakeIdentifyFile.cxx, LargeVRDSExplicit.cxx, ReadAndDumpDICOMDIR.cxx, ReformatFile.cs, and StandardizeFiles.cs.