#include <iostream>
#include <gtest/gtest.h>
#include "../../include/ecl/containers/array.hpp"
#include "../../include/ecl/containers/converters.hpp"
#include "../../include/ecl/containers/stencil.hpp"
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, fromStencil) | |
TEST (ConverterTests, toArray) | |
TEST (ConverterTests, toStencil) | |
Variables | |
bool | debug_output = true |
Definition at line 47 of file container_converters.cpp.
typedef Stencil< Array<char,3> > ByteStencil |
Definition at line 49 of file container_converters.cpp.
typedef Array<char> DynamicByteArray |
Definition at line 48 of file container_converters.cpp.
typedef Stencil< Array<char> > DynamicByteStencil |
Definition at line 50 of file container_converters.cpp.
typedef Array<signed char> DynamicSignedByteArray |
Definition at line 52 of file container_converters.cpp.
typedef Stencil< Array<signed char> > DynamicSignedByteStencil |
Definition at line 54 of file container_converters.cpp.
typedef Array<unsigned char> DynamicUnsignedByteArray |
Definition at line 56 of file container_converters.cpp.
typedef Stencil< Array<unsigned char> > DynamicUnsignedByteStencil |
Definition at line 58 of file container_converters.cpp.
typedef Array<signed char,3> SignedByteArray |
Definition at line 51 of file container_converters.cpp.
typedef Stencil< Array<signed char,3> > SignedByteStencil |
Definition at line 53 of file container_converters.cpp.
typedef Array<unsigned char,3> UnsignedByteArray |
Definition at line 55 of file container_converters.cpp.
typedef Stencil< Array<unsigned char,3> > UnsignedByteStencil |
Definition at line 57 of file container_converters.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 143 of file container_converters.cpp.
void print | ( | const Container & | byte_array | ) |
Definition at line 37 of file container_converters.cpp.
TEST | ( | ConverterTests | , |
fromArray | |||
) |
Definition at line 64 of file container_converters.cpp.
TEST | ( | ConverterTests | , |
fromStencil | |||
) |
Definition at line 108 of file container_converters.cpp.
TEST | ( | ConverterTests | , |
toArray | |||
) |
Definition at line 82 of file container_converters.cpp.
TEST | ( | ConverterTests | , |
toStencil | |||
) |
Definition at line 128 of file container_converters.cpp.
bool debug_output = true |
Definition at line 30 of file container_converters.cpp.