#include "Any.hxx"#include "Runtime.hxx"#include "TypeCode.hxx"#include "InvalidExtractionException.hxx"#include <boost/archive/iterators/base64_from_binary.hpp>#include <boost/archive/iterators/binary_from_base64.hpp>#include <boost/archive/iterators/transform_width.hpp>#include <boost/archive/iterators/insert_linebreaks.hpp>#include <boost/archive/iterators/remove_whitespace.hpp>#include <algorithm>#include <cstring>#include <cstdlib>
Go to the source code of this file.
Functions | |
| unsigned char | BitAtPosSimple (char val, std::size_t bitPos) |
| unsigned char | BitAtPos (char pt0, char pt1, std::size_t bitPos) |
| unsigned char | ChunkInternal (char pt0, char pt1, std::size_t startBitIdInByte) |
| unsigned char | ChunkAtPos (const char *pt, std::size_t len, std::size_t posChunk) |
| std::size_t | OnOff (std::size_t i) |
| unsigned char | BitAtPosSimple2 (char val, std::size_t bitPos) |
| char | BitAtPosOnChunk (char pt0, char pt1, std::size_t bitPos) |
| unsigned char | CheckEntry (char c) |
| char | ByteInternal (char c0, char c1, std::size_t startBitIdInByte) |
| char | ByteAtPos (const char *chunckPt, std::size_t bytePos) |
Variables | |
| constexpr unsigned | NB_BITS = 6 |
| constexpr unsigned char | TAB [64] ={46, 61, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122} |
| constexpr unsigned | MAX_VAL_TAB2 =123 |
| constexpr unsigned | NOT_OK_VAL = 128 |
| constexpr unsigned char | TAB2 [MAX_VAL_TAB2] = { NOT_OK_VAL, NOT_OK_VAL, NOT_OK_VAL, NOT_OK_VAL, NOT_OK_VAL, NOT_OK_VAL, NOT_OK_VAL, NOT_OK_VAL, NOT_OK_VAL, NOT_OK_VAL, NOT_OK_VAL, NOT_OK_VAL, NOT_OK_VAL, NOT_OK_VAL, NOT_OK_VAL, NOT_OK_VAL, NOT_OK_VAL, NOT_OK_VAL, NOT_OK_VAL, NOT_OK_VAL, NOT_OK_VAL, NOT_OK_VAL, NOT_OK_VAL, NOT_OK_VAL, NOT_OK_VAL, NOT_OK_VAL, NOT_OK_VAL, NOT_OK_VAL, NOT_OK_VAL, NOT_OK_VAL, NOT_OK_VAL, NOT_OK_VAL, NOT_OK_VAL, NOT_OK_VAL, NOT_OK_VAL, NOT_OK_VAL, NOT_OK_VAL, NOT_OK_VAL, NOT_OK_VAL, NOT_OK_VAL, NOT_OK_VAL, NOT_OK_VAL, NOT_OK_VAL, NOT_OK_VAL, NOT_OK_VAL, NOT_OK_VAL, 0, NOT_OK_VAL, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, NOT_OK_VAL, NOT_OK_VAL, NOT_OK_VAL, 1, NOT_OK_VAL, NOT_OK_VAL, NOT_OK_VAL, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, NOT_OK_VAL, NOT_OK_VAL, NOT_OK_VAL, NOT_OK_VAL, NOT_OK_VAL, NOT_OK_VAL, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63 } |
| unsigned char BitAtPos | ( | char | pt0, |
| char | pt1, | ||
| std::size_t | bitPos | ||
| ) |
| char BitAtPosOnChunk | ( | char | pt0, |
| char | pt1, | ||
| std::size_t | bitPos | ||
| ) |
| unsigned char BitAtPosSimple | ( | char | val, |
| std::size_t | bitPos | ||
| ) |
Definition at line 45 of file Any.cxx.
Referenced by BitAtPos().
| unsigned char BitAtPosSimple2 | ( | char | val, |
| std::size_t | bitPos | ||
| ) |
Definition at line 106 of file Any.cxx.
Referenced by BitAtPosOnChunk().
| char ByteAtPos | ( | const char * | chunckPt, |
| std::size_t | bytePos | ||
| ) |
Definition at line 144 of file Any.cxx.
References ByteInternal(), and NB_BITS.
Referenced by YACS::ENGINE::FromBase64().
| char ByteInternal | ( | char | c0, |
| char | c1, | ||
| std::size_t | startBitIdInByte | ||
| ) |
Definition at line 131 of file Any.cxx.
References BitAtPosOnChunk(), gui.GraphViewer::c1, CheckEntry(), and yacsorb.CORBAEngineTest::i.
Referenced by ByteAtPos().
| unsigned char CheckEntry | ( | char | c | ) |
Definition at line 119 of file Any.cxx.
References gui.CONNECTOR::c, MAX_VAL_TAB2, NOT_OK_VAL, and TAB2.
Referenced by ByteInternal().
| unsigned char ChunkAtPos | ( | const char * | pt, |
| std::size_t | len, | ||
| std::size_t | posChunk | ||
| ) |
Definition at line 70 of file Any.cxx.
References ChunkInternal(), and NB_BITS.
Referenced by YACS::ENGINE::ToBase64().
| unsigned char ChunkInternal | ( | char | pt0, |
| char | pt1, | ||
| std::size_t | startBitIdInByte | ||
| ) |
Definition at line 58 of file Any.cxx.
References BitAtPos(), yacsorb.CORBAEngineTest::i, and NB_BITS.
Referenced by ChunkAtPos().
| std::size_t OnOff | ( | std::size_t | i | ) |
Definition at line 78 of file Any.cxx.
References yacsorb.CORBAEngineTest::i.
Referenced by YACS::ENGINE::ToBase64().
|
constexpr |
Definition at line 100 of file Any.cxx.
Referenced by CheckEntry().
|
constexpr |
Definition at line 41 of file Any.cxx.
Referenced by ByteAtPos(), ChunkAtPos(), ChunkInternal(), YACS::ENGINE::FromBase64(), and YACS::ENGINE::ToBase64().
|
constexpr |
Definition at line 102 of file Any.cxx.
Referenced by CheckEntry().
|
constexpr |
Definition at line 43 of file Any.cxx.
Referenced by YACS::ENGINE::ToBase64().
Definition at line 104 of file Any.cxx.
Referenced by CheckEntry().