libkovan  1
The kovan standard library
Category Class Reference

#include <datalog.hpp>

Public Member Functions

void append (const std::string &data)
 
void append (const double &data)
 
void remove (const unsigned int &index)
 
const std::vector< std::string > & entries () const
 
const std::string & name () const
 

Friends

class DataLog
 

Detailed Description

A category holds a collection of ordered and related items. This is conceptually similar to a column in a spreadsheet.

Member Function Documentation

void Category::append ( const std::string &  data)

Appends a string to this category.

void Category::append ( const double &  data)

Appends a number to this category.

const std::vector<std::string>& Category::entries ( ) const

Gets a list of all entries contained in this category.

Returns
The entries in this category, ordered.
const std::string& Category::name ( ) const
Returns
The name associated with this category.
void Category::remove ( const unsigned int &  index)

Friends And Related Function Documentation

friend class DataLog
friend

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