Dims.C File Reference

#include "Image/Dims.H"
#include "Util/StringConversions.H"
#include "Util/log.H"
#include <sstream>
Include dependency graph for Dims.C:

Go to the source code of this file.

Functions

std::string convertToString (const Dims &val)
 Dims overload: format is "<int>x<int>".
void convertFromString (const std::string &str, Dims &val)
 Dims overload: format is "<int>x<int>".

Detailed Description

A simple struct to hold a pair of width/height dimensions.

Definition in file Dims.C.


Function Documentation

void convertFromString ( const std::string str,
Dims val 
)

Dims overload: format is "<int>x<int>".

Definition at line 52 of file Dims.C.

std::string convertToString ( const Dims val  ) 

Dims overload: format is "<int>x<int>".

Definition at line 49 of file Dims.C.

References Dims::h(), and Dims::w().

Generated on Sun May 8 08:42:41 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3