Typedefs | Functions | Variables
container_converters.cpp File Reference
#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 container_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
 

Typedef Documentation

◆ ByteArray

typedef Array<char,3> ByteArray

Definition at line 47 of file container_converters.cpp.

◆ ByteStencil

typedef Stencil< Array<char,3> > ByteStencil

Definition at line 49 of file container_converters.cpp.

◆ DynamicByteArray

typedef Array<char> DynamicByteArray

Definition at line 48 of file container_converters.cpp.

◆ DynamicByteStencil

typedef Stencil< Array<char> > DynamicByteStencil

Definition at line 50 of file container_converters.cpp.

◆ DynamicSignedByteArray

typedef Array<signed char> DynamicSignedByteArray

Definition at line 52 of file container_converters.cpp.

◆ DynamicSignedByteStencil

typedef Stencil< Array<signed char> > DynamicSignedByteStencil

Definition at line 54 of file container_converters.cpp.

◆ DynamicUnsignedByteArray

typedef Array<unsigned char> DynamicUnsignedByteArray

Definition at line 56 of file container_converters.cpp.

◆ DynamicUnsignedByteStencil

typedef Stencil< Array<unsigned char> > DynamicUnsignedByteStencil

Definition at line 58 of file container_converters.cpp.

◆ SignedByteArray

typedef Array<signed char,3> SignedByteArray

Definition at line 51 of file container_converters.cpp.

◆ SignedByteStencil

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

Definition at line 53 of file container_converters.cpp.

◆ UnsignedByteArray

typedef Array<unsigned char,3> UnsignedByteArray

Definition at line 55 of file container_converters.cpp.

◆ UnsignedByteStencil

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

Definition at line 57 of file container_converters.cpp.

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 143 of file container_converters.cpp.

◆ print()

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

Definition at line 37 of file container_converters.cpp.

◆ TEST() [1/4]

TEST ( ConverterTests  ,
fromArray   
)

Definition at line 64 of file container_converters.cpp.

◆ TEST() [2/4]

TEST ( ConverterTests  ,
toArray   
)

Definition at line 82 of file container_converters.cpp.

◆ TEST() [3/4]

TEST ( ConverterTests  ,
fromStencil   
)

Definition at line 108 of file container_converters.cpp.

◆ TEST() [4/4]

TEST ( ConverterTests  ,
toStencil   
)

Definition at line 128 of file container_converters.cpp.

Variable Documentation

◆ debug_output

bool debug_output = true

Definition at line 30 of file container_converters.cpp.



ecl_containers
Author(s): Daniel Stonier
autogenerated on Mon Feb 28 2022 22:18:43