Public Member Functions | Private Member Functions | Private Attributes | List of all members
GridMapToPgmDumber< GridMapType >::PgmHeader Class Reference

Public Member Functions

 PgmHeader (int w, int h, unsigned max_v)
 
void write (std::ostream &os) const
 

Private Member Functions

template<typename T >
void write_integral (std::ostream &os, T value) const
 
void write_whitespace (std::ostream &os) const
 

Private Attributes

int _height
 
char _magic [2] = {'P', '5'}
 
unsigned _max_val
 
int _width
 

Detailed Description

template<typename GridMapType>
class GridMapToPgmDumber< GridMapType >::PgmHeader

Definition at line 20 of file map_dumpers.h.

Constructor & Destructor Documentation

template<typename GridMapType >
GridMapToPgmDumber< GridMapType >::PgmHeader::PgmHeader ( int  w,
int  h,
unsigned  max_v 
)
inline

Definition at line 22 of file map_dumpers.h.

Member Function Documentation

template<typename GridMapType >
void GridMapToPgmDumber< GridMapType >::PgmHeader::write ( std::ostream &  os) const
inline

Definition at line 25 of file map_dumpers.h.

template<typename GridMapType >
template<typename T >
void GridMapToPgmDumber< GridMapType >::PgmHeader::write_integral ( std::ostream &  os,
value 
) const
inlineprivate

Definition at line 42 of file map_dumpers.h.

template<typename GridMapType >
void GridMapToPgmDumber< GridMapType >::PgmHeader::write_whitespace ( std::ostream &  os) const
inlineprivate

Definition at line 36 of file map_dumpers.h.

Member Data Documentation

template<typename GridMapType >
int GridMapToPgmDumber< GridMapType >::PgmHeader::_height
private

Definition at line 49 of file map_dumpers.h.

template<typename GridMapType >
char GridMapToPgmDumber< GridMapType >::PgmHeader::_magic[2] = {'P', '5'}
private

Definition at line 48 of file map_dumpers.h.

template<typename GridMapType >
unsigned GridMapToPgmDumber< GridMapType >::PgmHeader::_max_val
private

Definition at line 50 of file map_dumpers.h.

template<typename GridMapType >
int GridMapToPgmDumber< GridMapType >::PgmHeader::_width
private

Definition at line 49 of file map_dumpers.h.


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


slam_constructor
Author(s): JetBrains Research, OSLL team
autogenerated on Mon Jun 10 2019 15:08:26