GDCM  2.2.6
Public Member Functions | List of all members
gdcm::QueryBase Class Referenceabstract

QueryBase contains: the base class for constructing a query dataset for a C-FIND and a C-MOVE. More...

#include <gdcmQueryBase.h>

Inheritance diagram for gdcm::QueryBase:
Inheritance graph
[legend]

Public Member Functions

virtual ~QueryBase ()
 
std::vector< TagGetAllRequiredTags (const ERootType &inRootType) const
 
std::vector< TagGetAllTags (const ERootType &inRootType) const
 
virtual std::vector< TagGetHierachicalSearchTags (const ERootType &inRootType) const =0
 Return all Unique Key for a particular Query Root type (from the same level and above). More...
 
virtual const char * GetName () const =0
 
virtual std::vector< TagGetOptionalTags (const ERootType &inRootType) const =0
 
virtual DataElement GetQueryLevel () const =0
 
virtual std::vector< TagGetRequiredTags (const ERootType &inRootType) const =0
 
virtual std::vector< TagGetUniqueTags (const ERootType &inRootType) const =0
 

Detailed Description

QueryBase contains: the base class for constructing a query dataset for a C-FIND and a C-MOVE.

There are four levels of C-FIND and C-MOVE query:

Each one has its own required and optional tags. This class provides an interface for getting those tags. This is an interface class.

See 3.4 C 6.1 and 3.4 C 6.2 for the patient and study root query types. These sections define the tags allowed by a particular query. The caller must pass in which root type they want, patient or study. A third root type, Modality Worklist Query, isn't yet supported.

This class (or rather it's derived classes) will be held in the RootQuery types. These query types actually make the dataset, and will use this dataset to list the required, unique, and optional tags for each type of query. This design is somewhat overly complicated, but is kept so that if we ever wanted to try to guess the query type from the given tags, we could do so.

Constructor & Destructor Documentation

virtual gdcm::QueryBase::~QueryBase ( )
inlinevirtual

Member Function Documentation

std::vector<Tag> gdcm::QueryBase::GetAllRequiredTags ( const ERootType inRootType) const

In order to validate a query dataset we need to check that there exists at least one required (or unique) key

std::vector<Tag> gdcm::QueryBase::GetAllTags ( const ERootType inRootType) const

In order to validate a query dataset, just check for the presence of a tag, not it's requirement level in the spec

virtual std::vector<Tag> gdcm::QueryBase::GetHierachicalSearchTags ( const ERootType inRootType) const
pure virtual

Return all Unique Key for a particular Query Root type (from the same level and above).

Implemented in gdcm::QueryImage, gdcm::QueryPatient, gdcm::QuerySeries, and gdcm::QueryStudy.

virtual const char* gdcm::QueryBase::GetName ( ) const
pure virtual
virtual std::vector<Tag> gdcm::QueryBase::GetOptionalTags ( const ERootType inRootType) const
pure virtual
virtual DataElement gdcm::QueryBase::GetQueryLevel ( ) const
pure virtual
virtual std::vector<Tag> gdcm::QueryBase::GetRequiredTags ( const ERootType inRootType) const
pure virtual
virtual std::vector<Tag> gdcm::QueryBase::GetUniqueTags ( const ERootType inRootType) const
pure virtual

The documentation for this class was generated from the following file:

Generated on Sat Dec 21 2013 05:56:22 for GDCM by doxygen 1.8.5
SourceForge.net Logo