MeVisLab Toolbox Reference
mlDMTagDirectory.h
Go to the documentation of this file.
1 // Copyright (c) Fraunhofer MEVIS, Germany. All rights reserved.
2 // **InsertLicense** code
3 //----------------------------------------------------------------------------------
5 
10 //----------------------------------------------------------------------------------
11 
12 #pragma once
13 
14 #include "MLDMFileReaderSystem.h"
15 
17 #include <mlDMFileReaderDefs.h>
18 
19 ML_START_NAMESPACE
20 
21 //----------------------------------------------------------------------------------
23 //----------------------------------------------------------------------------------
25  public:
28 
31 
33  DMTagPtr getTag(const std::string &label) const;
34 
36  DMTagPtrVector getTags(const std::string &label) const;
37 
38  private:
40  mutable DMTagPtrVector _tagMap;
41 };
42 
43 ML_END_NAMESPACE
Project global and OS specific declarations.
#define MLDMFileReader_EXPORT
If included by external modules, exported symbols are declared as import symbols.
Representation for the DM file as data structure.
DMTagPtrVector & getTags() const
Provides access to the actual map.
DMTagPtr getTag(const std::string &label) const
Returns the first tag with label or nullptr if not found.
DMTagPtrVector getTags(const std::string &label) const
Returns all tags with label or an empty vector if not found.
DMTagDirectory()
Constructor.
Project wide definitions.
boost::shared_ptr< DMTag > DMTagPtr
Boost shared-pointer type definitions for DMTagEntry.
std::vector< DMTagPtr > DMTagPtrVector
Vector of shared pointers to DMTags.