FARGOS/VISTA Object Management Environment Core  ..
FARGOS/VISTA Object Management Environment Core Table of Contents
assignToZero.hpp
Go to the documentation of this file.
1 #ifndef _ASSIGN_TO_ZERO_HPP_
2 #define _ASSIGN_TO_ZERO_HPP_ "$Id: assignToZero.hpp 454 2020-07-23 20:22:23Z geoff $"
4 
11 // subgroup
42 /* implementations of assignToZero for common
43  * fundamental signed numeric types
44  */
45 
47 extern void assignToZero(int32_t &n) OME_ALWAYS_INLINE;
48 inline void assignToZero(int32_t &n) {
49  n = 0;
50 }
51 
53 extern void assignToZero(int64_t &n) OME_ALWAYS_INLINE;
54 inline void assignToZero(int64_t &n) {
55  n = 0;
56 }
57 
59 extern void assignToZero(float &n) OME_ALWAYS_INLINE;
60 inline void assignToZero(float &n) {
61  n = 0;
62 }
63 
65 extern void assignToZero(double &n) OME_ALWAYS_INLINE;
66 inline void assignToZero(double &n) {
67  n = 0;
68 }
73 #endif
74 /* vim: set expandtab shiftwidth=4 tabstop=4: */
l
Ïúíþ ð Ø ˜ ˜ __text __TEXT € __apple_names __DWARF __apple_objc __DWARF __apple_namespac__DWARF H X __apple_types __DWARF l
Definition: tmp3.o.cpp:1
OMEinitNewCipher
int OMEinitNewCipher(const OMEstring &initVector)
Definition: aesCover.cpp:29
OMEstring.h
OME string implementation.
BYTES_PER_BLOCK
const int BYTES_PER_BLOCK
Definition: aesCover.cpp:17
OMEstring
Implements text and binary string storage.
Definition: OMEstring.h:305
OMEfreeEncryptionKey
int OMEfreeEncryptionKey(int useKey)
Definition: aesCover.cpp:111
BITS_PER_NYBBLE
const int BITS_PER_NYBBLE
Definition: aesCover.cpp:16
OMEencryptString
int OMEencryptString(int useCipher, int useKey, const OMEstring &input, OMEstring &result)
Definition: aesCover.cpp:124
OMEstring::determineCharacterSet
void determineCharacterSet()
Definition: OMEstring.h:391
OMEdecryptString
int OMEdecryptString(int useCipher, int useKey, const OMEstring &input, OMEstring &result)
Definition: aesCover.cpp:179
OMEstring::truncateToLength
void truncateToLength(size_t newLen)
Definition: OMEstring.h:531
srcID
const char srcID[]
Definition: catSym.c:17
OMEstring::noteCharacterSet
void noteCharacterSet(uint_fast8_t c)
Definition: OMEstring.h:386
OMEdefineNewEncryptKey
int OMEdefineNewEncryptKey(const OMEstring &key)
Definition: aesCover.cpp:95
OMEdefineNewDecryptKey
int OMEdefineNewDecryptKey(const OMEstring &key)
Definition: aesCover.cpp:103
BLOCK_SIZE
#define BLOCK_SIZE
Definition: aesCover.cpp:12
MAX_KEYS
#define MAX_KEYS
Definition: aesCover.cpp:20
OMEfreeDecryptionKey
int OMEfreeDecryptionKey(int useKey)
Definition: aesCover.cpp:119
OMEstring::length
size_t length() const
Definition: OMEstring.h:401
MAX_CIPHERS
#define MAX_CIPHERS
Definition: aesCover.cpp:19
BITS_PER_BYTE
const int BITS_PER_BYTE
Definition: aesCover.cpp:15
OME_USED
const char srcID[] OME_USED
Definition: tick_time.cpp:24
OMEstring::outputOnStreamAsHex
STREAMTYPE & outputOnStreamAsHex(STREAMTYPE &outputStream, int_fast16_t indent=0, bool dense=false) const
Output the contents of an OMEstring object to an output stream as a collection of hexadecimal charact...
Definition: OMEstring.h:564
OMEfreeCipher
int OMEfreeCipher(int useCipher)
Definition: aesCover.cpp:56
OME_ALWAYS_INLINE
#define OME_ALWAYS_INLINE
Tell the compiler to alway inline a function, regardless of optimization level.
Definition: compiler_hints.h:364
OME_CHARSET_BINARY
@ OME_CHARSET_BINARY
Definition: OMEstring.h:30
assignToZero
void assignToZero(int32_t &n) OME_ALWAYS_INLINE
Assigns 0 to a 32-bit integer.
Definition: assignToZero.hpp:48
main
int main(int argc, const char *argv[])
Definition: tick_test.cpp:5
Generated: Fri Jul 31 2020 18:19:13
Support Information