StringFilter StringFilter is the class that make gdcm2.x looks more like gdcm1 and transform the binary blob contained in a DataElement into a string, typically this is a nice feature to have for wrapped language.
More...
#include <gdcmStringFilter.h>
List of all members.
Public Member Functions |
| StringFilter () |
| ~StringFilter () |
bool | ExecuteQuery (std::string const &query, std::string &value) const |
std::string | FromString (const Tag &t, const char *value, VL const &vl) |
| DEPRECATED: NEVER USE IT.
|
std::string | FromString (const Tag &t, const char *value, size_t len) |
File & | GetFile () |
const File & | GetFile () const |
void | SetDicts (const Dicts &dicts) |
| Allow user to pass in there own dicts.
|
void | SetFile (const File &f) |
| Set/Get File.
|
std::string | ToString (const Tag &t) const |
| Convert to string the ByteValue contained in a DataElement.
|
std::pair< std::string,
std::string > | ToStringPair (const Tag &t) const |
void | UseDictAlways (bool) |
Protected Member Functions |
bool | ExecuteQuery (std::string const &query, DataSet const &ds, std::string &value) const |
std::pair< std::string,
std::string > | ToStringPair (const Tag &t, DataSet const &ds) const |
Detailed Description
StringFilter StringFilter is the class that make gdcm2.x looks more like gdcm1 and transform the binary blob contained in a DataElement into a string, typically this is a nice feature to have for wrapped language.
- Examples:
- ReadAndPrintAttributes.cxx.
Constructor & Destructor Documentation
Member Function Documentation
Execute the XPATH query to find a value (as string) return false when attribute is not found (or an error in the XPATH query) You need to make sure that your XPATH query is syntatically correct
DEPRECATED: NEVER USE IT.
Allow user to pass in there own dicts.
The documentation for this class was generated from the following file: