GDCM  2.2.0
Public Member Functions
gdcm::QueryBase Class Reference

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:
[legend]

List of all members.

Public Member Functions

virtual ~QueryBase ()
virtual std::vector< TagGetAllTags (const ERootType &inRootType) const
virtual std::string 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

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

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::string 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 Wed Jun 13 2012 20:40:39 for GDCM by doxygen 1.8.1
SourceForge.net Logo