GDCM
2.2.6
|
This class defines a segment reader. It reads attributes of group 0x0062. More...
#include <gdcmSegmentReader.h>
Public Types | |
typedef std::vector < SmartPointer< Segment > > | SegmentVector |
Public Member Functions | |
SegmentReader () | |
virtual | ~SegmentReader () |
const SegmentVector | GetSegments () const |
SegmentVector | GetSegments () |
virtual bool | Read () |
Read. More... | |
![]() | |
Reader () | |
virtual | ~Reader () |
bool | CanRead () const |
const File & | GetFile () const |
Set/Get File. More... | |
File & | GetFile () |
Set/Get File. More... | |
bool | ReadSelectedPrivateTags (std::set< PrivateTag > const &ptags, bool readvalues=true) |
Will only read the specified selected private tags. More... | |
bool | ReadSelectedTags (std::set< Tag > const &tags, bool readvalues=true) |
Will only read the specified selected tags. More... | |
bool | ReadUpToTag (const Tag &tag, std::set< Tag > const &skiptags=std::set< Tag >()) |
void | SetFile (File &file) |
Set/Get File. More... | |
void | SetFileName (const char *filename_native) |
void | SetStream (std::istream &input_stream) |
Set the open-ed stream directly. More... | |
Protected Types | |
typedef std::map< unsigned long, SmartPointer< Segment > > | SegmentMap |
Protected Member Functions | |
bool | ReadSegment (const Item &segmentItem, const unsigned int idx) |
bool | ReadSegments () |
![]() | |
std::istream * | GetStreamPtr () const |
bool | ReadDataSet () |
bool | ReadMetaInformation () |
bool | ReadPreamble () |
Protected Attributes | |
SegmentMap | Segments |
![]() | |
SmartPointer< File > | F |
This class defines a segment reader. It reads attributes of group 0x0062.
|
protected |
typedef std::vector< SmartPointer< Segment > > gdcm::SegmentReader::SegmentVector |
gdcm::SegmentReader::SegmentReader | ( | ) |
|
virtual |
const SegmentVector gdcm::SegmentReader::GetSegments | ( | ) | const |
SegmentVector gdcm::SegmentReader::GetSegments | ( | ) |
|
virtual |
|
protected |
|
protected |
|
protected |