Public Types | Public Member Functions | Friends
PointMatcher< T >::DataPoints::Labels Struct Reference

A vector of Label. More...

#include <PointMatcher.h>

List of all members.

Public Types

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

Public Member Functions

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

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 221 of file PointMatcher.h.


Member Typedef Documentation

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

alias

Definition at line 223 of file PointMatcher.h.


Constructor & Destructor Documentation

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

Construct empty Labels.

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

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

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.

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

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

Definition at line 228 of file PointMatcher.h.


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


libpointmatcher
Author(s):
autogenerated on Thu Jun 20 2019 19:51:33