GDCM 2.2.0

- Main Page
- Related Pages
- Namespaces
- Classes
- Files
- Directories
- Examples

- File List
- File Members

gdcmCompositeNetworkFunctions.h
Go to the documentation of this file.

    00001 /*=========================================================================
    00002  *
    00003  *  Copyright Insight Software Consortium
    00004  *
    00005  *  Licensed under the Apache License, Version 2.0 (the "License");
    00006  *  you may not use this file except in compliance with the License.
    00007  *  You may obtain a copy of the License at
    00008  *
    00009  *         http://www.apache.org/licenses/LICENSE-2.0.txt
    00010  *
    00011  *  Unless required by applicable law or agreed to in writing, software
    00012  *  distributed under the License is distributed on an "AS IS" BASIS,
    00013  *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    00014  *  See the License for the specific language governing permissions and
    00015  *  limitations under the License.
    00016  *
    00017  *=========================================================================*/
    00018 #ifndef GDCMCOMPOSITENETWORKFUNCTIONS_H
    00019 #define GDCMCOMPOSITENETWORKFUNCTIONS_H
    00020
    00021 #include "gdcmDirectory.h"
    00022 #include "gdcmBaseRootQuery.h" // EQueryLevel / EQueryType
    00023
    00024 #include <vector>
    00025 #include <string>
    00026
    00027 namespace gdcm
    00028 {
    00048 class GDCM_EXPORT CompositeNetworkFunctions
    00049 {
    00050 public:
    00057   static bool CEcho( const char *remote, uint16_t portno, const char *aetitle = NULL,
    00058     const char *call = NULL );
    00059
    00060   typedef std::pair<Tag, std::string> KeyValuePairType;
    00061   typedef std::vector< KeyValuePairType  > KeyValuePairArrayType;
    00062
    00069   static BaseRootQuery* ConstructQuery(ERootType inRootType, EQueryLevel inQueryLevel,
    00070     const DataSet& queryds, bool inMove = false );
    00071
    00073   static BaseRootQuery* ConstructQuery(ERootType inRootType, EQueryLevel inQueryLevel,
    00074     const KeyValuePairArrayType& keys, bool inMove = false );
    00075
    00091   static bool CMove( const char *remote, uint16_t portno, const BaseRootQuery* query,
    00092     uint16_t portscp, const char *aetitle = NULL,
    00093     const char *call = NULL, const char *outputdir = NULL);
    00094
    00104   static bool CFind( const char *remote, uint16_t portno,
    00105     const BaseRootQuery* query,
    00106     std::vector<DataSet> &retDataSets,
    00107     const char *aetitle = NULL,
    00108     const char *call = NULL );
    00109
    00117   static bool CStore( const char *remote, uint16_t portno,
    00118     const Directory::FilenamesType & filenames,
    00119     const char *aetitle = NULL, const char *call = NULL);
    00120 };
    00121
    00122 } // end namespace gdcm
    00123
    00124 #endif // GDCMCOMPOSITENETWORKFUNCTIONS_H