sptk2 logo
SPTK Home Page

sptk::CIntList Class Reference
[Utility Classes]

The list of integers. More...

#include <CIntList.h>

List of all members.

Public Member Functions

 CIntList ()
 Constructor.
CIntListoperator= (const CIntList &list)
 Assigns another CIntList.
std::string toString (const char *separator=",") const
void fromString (const char *s, const char *separator=",")


Detailed Description

The list of integers.

Extends the std::vector<int> with CSV string encoders and decoders.


Member Function Documentation

void sptk::CIntList::fromString ( const char *  s,
const char *  separator = "," 
)

Converts from string of a list of values, separated with user-defined character (comma, by default)

std::string sptk::CIntList::toString ( const char *  separator = ","  )  const

Converts to string as a list of values, separated with user-defined character (comma, by default)


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

Mon Mar 5 11:56:05 2012: SPTK 3.5.7