Typedefs | Functions | Variables
converters.cpp File Reference

Unit test the stencil char byte array -> integral type converter. More...

#include <iostream>
#include <gtest/gtest.h>
#include "../../include/ecl/containers/array.hpp"
#include "../../include/ecl/containers/converters.hpp"
#include "../../include/ecl/containers/stencil.hpp"
Include dependency graph for converters.cpp:

Go to the source code of this file.

Typedefs

typedef Array< char, 3 > ByteArray
typedef Stencil< Array< char, 3 > > ByteStencil
typedef Array< char > DynamicByteArray
typedef Stencil< Array< char > > DynamicByteStencil
typedef Array< signed char > DynamicSignedByteArray
typedef Stencil< Array< signed
char > > 
DynamicSignedByteStencil
typedef Array< unsigned char > DynamicUnsignedByteArray
typedef Stencil< Array
< unsigned char > > 
DynamicUnsignedByteStencil
typedef Array< signed char, 3 > SignedByteArray
typedef Stencil< Array< signed
char, 3 > > 
SignedByteStencil
typedef Array< unsigned char, 3 > UnsignedByteArray
typedef Stencil< Array
< unsigned char, 3 > > 
UnsignedByteStencil

Functions

int main (int argc, char **argv)
template<typename Container >
void print (const Container &byte_array)
 TEST (ConverterTests, fromArray)
 TEST (ConverterTests, toArray)
 TEST (ConverterTests, fromStencil)
 TEST (ConverterTests, toStencil)

Variables

bool debug_output = true

Detailed Description

Unit test the stencil char byte array -> integral type converter.

Date:
August 2010

Definition in file converters.cpp.


Typedef Documentation

typedef Array<char,3> ByteArray

Definition at line 47 of file converters.cpp.

typedef Stencil< Array<char,3> > ByteStencil

Definition at line 49 of file converters.cpp.

typedef Array<char> DynamicByteArray

Definition at line 48 of file converters.cpp.

typedef Stencil< Array<char> > DynamicByteStencil

Definition at line 50 of file converters.cpp.

typedef Array<signed char> DynamicSignedByteArray

Definition at line 52 of file converters.cpp.

typedef Stencil< Array<signed char> > DynamicSignedByteStencil

Definition at line 54 of file converters.cpp.

typedef Array<unsigned char> DynamicUnsignedByteArray

Definition at line 56 of file converters.cpp.

typedef Stencil< Array<unsigned char> > DynamicUnsignedByteStencil

Definition at line 58 of file converters.cpp.

typedef Array<signed char,3> SignedByteArray

Definition at line 51 of file converters.cpp.

typedef Stencil< Array<signed char,3> > SignedByteStencil

Definition at line 53 of file converters.cpp.

typedef Array<unsigned char,3> UnsignedByteArray

Definition at line 55 of file converters.cpp.

typedef Stencil< Array<unsigned char,3> > UnsignedByteStencil

Definition at line 57 of file converters.cpp.


Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 143 of file converters.cpp.

template<typename Container >
void print ( const Container &  byte_array)

Definition at line 37 of file converters.cpp.

TEST ( ConverterTests  ,
fromArray   
)

Definition at line 64 of file converters.cpp.

TEST ( ConverterTests  ,
toArray   
)

Definition at line 82 of file converters.cpp.

TEST ( ConverterTests  ,
fromStencil   
)

Definition at line 108 of file converters.cpp.

TEST ( ConverterTests  ,
toStencil   
)

Definition at line 128 of file converters.cpp.


Variable Documentation

bool debug_output = true

Definition at line 30 of file converters.cpp.



ecl_containers
Author(s): Daniel Stonier (d.stonier@gmail.com)
autogenerated on Thu Jan 2 2014 11:12:25