Tenncor
Public Member Functions | Public Attributes | List of all members
layr::LayerId Struct Referencefinal

Sublayer type, label, and index encapsulation. More...

#include <layer.hpp>

Public Member Functions

 LayerId (void)=default
 
 LayerId (std::string label)
 
 LayerId (std::string type, std::string label, size_t index)
 
std::string to_string (std::string label) const
 

Public Attributes

std::string type_
 Sublayer type. More...
 
std::string label_
 Sublayer label. More...
 
size_t index_ = 0
 Sublayer index. More...
 

Detailed Description

Sublayer type, label, and index encapsulation.

Constructor & Destructor Documentation

◆ LayerId() [1/3]

layr::LayerId::LayerId ( void  )
default

◆ LayerId() [2/3]

layr::LayerId::LayerId ( std::string  label)
inline

◆ LayerId() [3/3]

layr::LayerId::LayerId ( std::string  type,
std::string  label,
size_t  index 
)
inline

Member Function Documentation

◆ to_string()

std::string layr::LayerId::to_string ( std::string  label) const
inline

Represent layer by the following format <raw label>="">:<sublayer type>="">:<sublayer label>="">:<sublayer index>="">

Member Data Documentation

◆ index_

size_t layr::LayerId::index_ = 0

Sublayer index.

◆ label_

std::string layr::LayerId::label_

Sublayer label.

◆ type_

std::string layr::LayerId::type_

Sublayer type.


The documentation for this struct was generated from the following file: