1 #ifndef __CIFTI_LABELS_MAP_H__ 2 #define __CIFTI_LABELS_MAP_H__ 31 #include "CiftiMappingType.h" 33 #include "Common/AString.h" 35 #include "LabelTable.h" 45 const MetaData& getMapMetadata(
const int64_t& index)
const;
46 const LabelTable& getMapLabelTable(
const int64_t& index)
const;
47 const AString& getMapName(
const int64_t& index)
const;
49 void setMapMetadata(
const int64_t& index,
const MetaData& md);
50 void setMapLabelTable(
const int64_t& index,
const LabelTable& lt);
51 void setMapName(
const int64_t& index,
const AString& mapName);
52 void setLength(
const int64_t& length);
56 MappingType getType()
const {
return LABELS; }
57 int64_t getLength()
const {
return m_maps.size(); }
59 bool approximateMatch(
const CiftiMappingType& rhs, AString* explanation = NULL)
const;
60 void readXML1(XmlReader& xml);
61 void readXML2(XmlReader& xml);
62 void writeXML1(XmlWriter& xml)
const;
63 void writeXML2(XmlWriter& xml)
const;
70 bool operator==(
const LabelMap& rhs)
const;
71 void readXML1(XmlReader& xml);
72 void readXML2(XmlReader& xml);
74 std::vector<LabelMap> m_maps;
78 #endif //__CIFTI_LABELS_MAP_H__ namespace for all CiftiLib functionality
Definition: CiftiBrainModelsMap.h:41
Definition: CiftiMappingType.h:38
Definition: LabelTable.h:44
Definition: CiftiLabelsMap.h:42