#include <VariantChannelMap.hpp>
|  | 
| template<typename U > | 
| void | add (const std::string &name) | 
|  | Adds an empty channel.  More... 
 | 
|  | 
| template<typename U > | 
| void | add (const std::string &name, Channel< U > channel) | 
|  | Adds an Key + AttributeChannel to the map.  More... 
 | 
|  | 
| template<typename U > | 
| void | add (const std::string &name, size_t numElements, size_t width) | 
|  | Adds an empty channel with size.  More... 
 | 
|  | 
| VariantChannelMap< T... > | clone () const | 
|  | 
| template<typename U > | 
| iterator< U > | erase (iterator< U > it) | 
|  | 
| template<typename U > | 
| Channel< U > & | get (const std::string &name) | 
|  | Gets AttributeChannel with type U from map as reference.  More... 
 | 
|  | 
| template<typename U > | 
| const Channel< U > & | get (const std::string &name) const | 
|  | Gets AttributeChannel by type U from map.  More... 
 | 
|  | 
| template<typename U > | 
| Channel< U >::Optional | getOptional (const std::string &name) | 
|  | 
| template<typename U > | 
| const Channel< U >::Optional | getOptional (const std::string &name) const | 
|  | 
| template<typename U > | 
| bool | is_type (const std::string &name) const | 
|  | Checks if key has specific type U.  More... 
 | 
|  | 
| template<typename U > | 
| std::vector< std::string > | keys () | 
|  | Gets the available keys by a specific type.  More... 
 | 
|  | 
| template<typename V > | 
| VariantChannelMap< T... > | manipulate (V visitor) | 
|  | 
| template<typename U > | 
| size_t | numChannels () | 
|  | Counts the number of channels by a specific type. @detail For total number of channels use "size()".  More... 
 | 
|  | 
| int | type (const std::string &name) const | 
|  | Gets type index of a map entry.  More... 
 | 
|  | 
| template<typename U > | 
| iterator< U > | typedBegin () | 
|  | 
| template<typename U > | 
| const_iterator< U > | typedBegin () const | 
|  | 
|  | 
| static constexpr std::size_t | num_types = val_type::num_types | 
|  | 
template<typename... T>
class lvr2::VariantChannelMap< T >
Definition at line 43 of file VariantChannelMap.hpp.
◆ base
◆ elem_type
◆ key_type
◆ type_of_index
template<typename... T> 
template<std::size_t N> 
      
 
 
◆ types
◆ val_type
◆ add() [1/3]
template<typename... T> 
template<typename U > 
      
 
Adds an empty channel. 
- Parameters
- 
  
    | [in] | name | Key of the channel. |  
 
 
 
◆ add() [2/3]
template<typename... T> 
template<typename U > 
      
 
Adds an Key + AttributeChannel to the map. 
- Parameters
- 
  
    | [in] | name | Key of the channel. |  | [in] | channel | The channel. |  
 
 
 
◆ add() [3/3]
template<typename... T> 
template<typename U > 
      
 
Adds an empty channel with size. 
- Parameters
- 
  
    | [in] | name | Key of the channel. |  | [in] | numElements | Number of elements in channel. |  | [in] | width | Element size. |  
 
 
 
◆ clone()
◆ erase()
template<typename... T> 
template<typename U > 
 
 
◆ get() [1/2]
template<typename... T> 
template<typename U > 
      
 
Gets AttributeChannel with type U from map as reference. 
- Parameters
- 
  
    | [in] | name | Key of the channel. |  
 
 
 
◆ get() [2/2]
template<typename... T> 
template<typename U > 
      
 
Gets AttributeChannel by type U from map. 
- Parameters
- 
  
    | [in] | name | Key of the channel. |  
 
 
 
◆ getOptional() [1/2]
template<typename... T> 
template<typename U > 
      
 
 
◆ getOptional() [2/2]
template<typename... T> 
template<typename U > 
      
 
 
◆ is_type()
template<typename... T> 
template<typename U > 
      
 
Checks if key has specific type U. 
Example Usage: cm.is_type<float>("points") -> true
- Parameters
- 
  
    | [in] | name | Key of the channel. |  
 
- Template Parameters
- 
  
    | U | Type of the value to check. |  
 
- Returns
- true If the type is equal. 
- 
false If the type is unequal. 
 
 
◆ keys()
template<typename... T> 
template<typename U > 
      
 
Gets the available keys by a specific type. 
- Template Parameters
- 
  
  
- Returns
- Vector of keys. 
 
 
◆ manipulate()
template<typename... T> 
template<typename V > 
 
 
◆ numChannels()
template<typename... T> 
template<typename U > 
      
 
Counts the number of channels by a specific type. @detail For total number of channels use "size()". 
- Template Parameters
- 
  
  
- Returns
- Number of channels. 
 
 
◆ type()
Gets type index of a map entry. 
- Parameters
- 
  
  
- Returns
- Index of type tuple of the variant. 
 
 
◆ typedBegin() [1/2]
template<typename... T> 
template<typename U > 
 
 
◆ typedBegin() [2/2]
template<typename... T> 
template<typename U > 
 
 
◆ operator<<
◆ num_types
The documentation for this class was generated from the following file: