Public Types | Public Member Functions | Friends | List of all members
PointMatcher< T >::DataPoints::Labels Struct Reference

A vector of Label. More...

#include <PointMatcher.h>

Inheritance diagram for PointMatcher< T >::DataPoints::Labels:
Inheritance graph
[legend]

Public Types

typedef std::vector< Label >::const_iterator const_iterator
 alias More...
 

Public Member Functions

bool contains (const std::string &text) const
 Return whether there is a label named text. More...
 
 Labels ()
 Construct empty Labels. More...
 
 Labels (const Label &label)
 Construct Labels with a single Label in it. More...
 
size_t totalDim () const
 Return the sum of the spans of each label. More...
 

Friends

std::ostream & operator<< (std::ostream &stream, const Labels &labels)
 

Detailed Description

template<typename T>
struct PointMatcher< T >::DataPoints::Labels

A vector of Label.

Definition at line 229 of file PointMatcher.h.

Member Typedef Documentation

◆ const_iterator

template<typename T >
typedef std::vector<Label>::const_iterator PointMatcher< T >::DataPoints::Labels::const_iterator

alias

Definition at line 231 of file PointMatcher.h.

Constructor & Destructor Documentation

◆ Labels() [1/2]

template<typename T >
PointMatcher< T >::DataPoints::Labels::Labels ( )

Construct empty Labels.

Definition at line 64 of file pointmatcher/DataPoints.cpp.

◆ Labels() [2/2]

template<typename T >
PointMatcher< T >::DataPoints::Labels::Labels ( const Label label)

Construct Labels with a single Label in it.

Definition at line 69 of file pointmatcher/DataPoints.cpp.

Member Function Documentation

◆ contains()

template<typename T >
bool PointMatcher< T >::DataPoints::Labels::contains ( const std::string &  text) const

Return whether there is a label named text.

Definition at line 75 of file pointmatcher/DataPoints.cpp.

◆ totalDim()

template<typename T >
size_t PointMatcher< T >::DataPoints::Labels::totalDim ( ) const

Return the sum of the spans of each label.

Definition at line 87 of file pointmatcher/DataPoints.cpp.

Friends And Related Function Documentation

◆ operator<<

template<typename T >
std::ostream& operator<< ( std::ostream &  stream,
const Labels labels 
)
friend

Definition at line 236 of file PointMatcher.h.


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


libpointmatcher
Author(s):
autogenerated on Mon Sep 16 2024 02:24:11