c3d-utils
Public Member Functions
UuIcsC3d::SpacePaddedString Struct Reference

A string that is padded with spaces (e.g. to fit in a unform length array) More...

#include <uuc3d.hpp>

List of all members.

Public Member Functions

 SpacePaddedString ()
 Construct an empty string.
 SpacePaddedString (std::string const &str)
std::string complete () const
 Return the complete string, spaces included.
std::string stripped () const
 Return the string but with spaces stripped.
void set (std::string const &str)
 Set the string.

Detailed Description

A string that is padded with spaces (e.g. to fit in a unform length array)

Examples:

count_invalid.cpp.


Constructor & Destructor Documentation

UuIcsC3d::SpacePaddedString::SpacePaddedString ( std::string const &  str) [inline]

Construct a string

Parameters:
[in]strInitialising string.

The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations