65 uint32_t
get (
DataType type, uint32_t from)
const {
return get (type, from, NULL); }
106 #if defined(_MSC_VER)
129 typedef std::map<DataType, TypeMapping>
Mappings;
143 return ! (*
this == other);
std::ostream & operator<<(std::ostream &o, const ARDOUR::ChanMapping &m)
uint32_t get(DataType type, uint32_t from) const
ChanMapping(ARDOUR::ChanCount identity)
bool operator!=(const ChanMapping &other) const
ChanMapping operator=(const ChanMapping &)
const Mappings & mappings() const
void offset_to(DataType t, int32_t delta)
std::map< DataType, TypeMapping, std::less< DataType >, PBD::StackAllocator< std::pair< const DataType, TypeMapping >, 2 > > Mappings
uint32_t get_src(DataType type, uint32_t to, bool *valid) const
XMLNode * state(const std::string &name) const
ChanMapping(const ChanMapping &)
bool is_subset(const ChanMapping &superset) const
void unset(DataType type, uint32_t from)
bool operator==(const ChanMapping &other) const
void offset_from(DataType t, int32_t delta)
uint32_t get(DataType t, uint32_t from, bool *valid) const
ChanMapping(const XMLNode &node)
bool is_monotonic() const
void set(DataType type, uint32_t from, uint32_t to)
std::map< uint32_t, uint32_t, std::less< uint32_t >, PBD::StackAllocator< std::pair< const uint32_t, uint32_t >, 16 > > TypeMapping
bool is_identity(ARDOUR::ChanCount offset=ARDOUR::ChanCount()) const
GtkImageIconNameData name