Public Member Functions | Private Member Functions | Private Attributes | List of all members
City10000Dataset Class Reference

#include <City10000.h>

Public Member Functions

 City10000Dataset (const std::string &filename)
 
bool next (std::vector< Pose2 > *poseArray, std::pair< size_t, size_t > *keys)
 Read and parse the next line. More...
 
std::pair< std::vector< Pose2 >, std::pair< size_t, size_t > > parseLine (const std::string &line) const
 Parse line from file. More...
 

Private Member Functions

std::vector< std::string > readLine (const std::string &line, const std::string &delimiter=" ") const
 Read a line from the dataset, separated by the delimiter. More...
 

Private Attributes

std::ifstream in_
 

Detailed Description

Definition at line 37 of file City10000.h.

Constructor & Destructor Documentation

◆ City10000Dataset()

City10000Dataset::City10000Dataset ( const std::string &  filename)
inline

Definition at line 55 of file City10000.h.

Member Function Documentation

◆ next()

bool City10000Dataset::next ( std::vector< Pose2 > *  poseArray,
std::pair< size_t, size_t > *  keys 
)
inline

Read and parse the next line.

Definition at line 81 of file City10000.h.

◆ parseLine()

std::pair<std::vector<Pose2>, std::pair<size_t, size_t> > City10000Dataset::parseLine ( const std::string &  line) const
inline

Parse line from file.

Definition at line 62 of file City10000.h.

◆ readLine()

std::vector<std::string> City10000Dataset::readLine ( const std::string &  line,
const std::string &  delimiter = " " 
) const
inlineprivate

Read a line from the dataset, separated by the delimiter.

Definition at line 41 of file City10000.h.

Member Data Documentation

◆ in_

std::ifstream City10000Dataset::in_
private

Definition at line 38 of file City10000.h.


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


gtsam
Author(s):
autogenerated on Fri Mar 28 2025 03:09:33