GDCM  2.2.6
Public Member Functions | Friends | List of all members
gdcm::MoveStudyRootQuery Class Reference

MoveStudyRootQuery contains: the class which will produce a dataset for C-MOVE with study root. More...

#include <gdcmMoveStudyRootQuery.h>

Inheritance diagram for gdcm::MoveStudyRootQuery:
Inheritance graph
[legend]
Collaboration diagram for gdcm::MoveStudyRootQuery:
Collaboration graph
[legend]

Public Member Functions

 MoveStudyRootQuery ()
 
UIDs::TSName GetAbstractSyntaxUID () const
 
std::vector< TagGetTagListByLevel (const EQueryLevel &inQueryLevel)
 
void InitializeDataSet (const EQueryLevel &inQueryLevel)
 
bool ValidateQuery (bool inStrict=true) const
 
- Public Member Functions inherited from gdcm::BaseRootQuery
virtual ~BaseRootQuery ()
 
void AddQueryDataSet (const DataSet &ds)
 
DataSet const & GetQueryDataSet () const
 Set/Get the internal representation of the query as a DataSet. More...
 
DataSetGetQueryDataSet ()
 
EQueryLevel GetQueryLevelFromQueryRoot (ERootType roottype)
 
void Print (std::ostream &os) const
 
void SetSearchParameter (const Tag &inTag, const std::string &inValue)
 
void SetSearchParameter (const std::string &inKeyword, const std::string &inValue)
 
const std::ostream & WriteHelpFile (std::ostream &os)
 
bool WriteQuery (const std::string &inFileName)
 
- Public Member Functions inherited from gdcm::Object
 Object ()
 
 Object (const Object &)
 Special requirement for copy/cstor, assigment operator. More...
 
virtual ~Object ()
 
void operator= (const Object &)
 

Friends

class QueryFactory
 

Additional Inherited Members

- Static Public Member Functions inherited from gdcm::BaseRootQuery
static QueryBaseConstruct (ERootType inRootType, EQueryLevel qlevel)
 
static int GetQueryLevelFromString (const char *str)
 
static const char * GetQueryLevelString (EQueryLevel ql)
 
- Protected Member Functions inherited from gdcm::BaseRootQuery
 BaseRootQuery ()
 
void SetSearchParameter (const Tag &inTag, const DictEntry &inDictEntry, const std::string &inValue)
 
- Protected Member Functions inherited from gdcm::Object
void Register ()
 
void UnRegister ()
 
- Protected Attributes inherited from gdcm::BaseRootQuery
DataSet mDataSet
 
std::string mHelpDescription
 
QueryImage mImage
 
QueryPatient mPatient
 
ERootType mRootType
 
QuerySeries mSeries
 
QueryStudy mStudy
 

Detailed Description

MoveStudyRootQuery contains: the class which will produce a dataset for C-MOVE with study root.

Constructor & Destructor Documentation

gdcm::MoveStudyRootQuery::MoveStudyRootQuery ( )

Member Function Documentation

UIDs::TSName gdcm::MoveStudyRootQuery::GetAbstractSyntaxUID ( ) const
virtual

Implements gdcm::BaseRootQuery.

std::vector<Tag> gdcm::MoveStudyRootQuery::GetTagListByLevel ( const EQueryLevel inQueryLevel)
virtual

this function will return all tags at a given query level, so that they maybe selected for searching. The boolean forFind is true if the query is a find query, or false for a move query.

Implements gdcm::BaseRootQuery.

void gdcm::MoveStudyRootQuery::InitializeDataSet ( const EQueryLevel inQueryLevel)
virtual

this function sets tag 8,52 to the appropriate value based on query level also fills in the right unique tags, as per the standard's requirements should allow for connection with dcmtk

Implements gdcm::BaseRootQuery.

bool gdcm::MoveStudyRootQuery::ValidateQuery ( bool  inStrict = true) const
virtual

have to be able to ensure that 0x8,0x52 is set (which will be true if InitializeDataSet is called...) that the level is appropriate (ie, not setting PATIENT for a study query that the tags in the query match the right level (either required, unique, optional) by default, this function checks to see if the query is for finding, which is more permissive than for moving. For moving, only the unique tags are allowed. 10 Jan 2011: adding in the 'strict' mode. according to the standard (at least, how I've read it), only tags for a particular level should be allowed in a particular query (ie, just series level tags in a series level query). However, it seems that dcm4chee doesn't share that interpretation. So, if 'inStrict' is false, then tags from the current level and all higher levels are now considered valid. So, if you're doing a non-strict series-level query, tags from the patient and study level can be passed along as well.

Implements gdcm::BaseRootQuery.

Friends And Related Function Documentation

friend class QueryFactory
friend

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

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