ldas-tools-framecpp 2.9.2
|
Manipulator class for input streams. More...
#include <IOStream.hh>
Public Member Functions | |
Resizer (T &Container, S &NewSize) | |
Constructor. More... | |
IStream & | operator() (IStream &In) |
Resizer (T &Container, S &NewSize) | |
Constructor. More... | |
IStream & | operator() (IStream &In) |
Resizer (T &Container, S &NewSize) | |
Constructor. More... | |
IStream & | operator() (IStream &In) |
Private Attributes | |
T & | container |
Container being resized. More... | |
S & | size |
New size for the container. More... | |
Manipulator class for input streams.
This manipulator class allows for the dynamic resizing of classes that define a resize method.
In the example given above, columnName is an array of strings that needs to be resized after the number of columns (nColumn) is known.
|
inline |
Constructor.
Container | The container to be resized |
NewSize | The number of elements that the new container should have. |
|
inline |
Constructor.
Container | The container to be resized |
NewSize | The number of elements that the new container should have. |
|
inline |
Constructor.
Container | The container to be resized |
NewSize | The number of elements that the new container should have. |
|
inline |
In | Input stream. |
|
inline |
In | Input stream. |
|
inline |
In | Input stream. |
|
private |
Container being resized.
|
private |
New size for the container.