GCpp general purpose C++ library
version 1.0
|
Functions | |
string | GGetString (const int64 val, const u_int len, const char c) |
string | GGetString (const u_int64 val, const u_int len, const char c) |
string | GGetString (const int val, const u_int len, const char c) |
string | GGetString (const u_int val, const u_int len, const char c) |
string | GGetString (const float val, const u_int len, const u_int prec, const char c) |
string | GGetString (const double val, const u_int len, const u_int prec, const char c) |
string | GGetString (const float val, const char *fmt, const char c) |
string | GGetString (const double val, const char *fmt, const char c) |
string | GGetStringHexa (const u_int64 data) |
string | GGetStringHexa (const u_int data) |
string | GGetStringHexa (const u_short data) |
string | GGetStringHexa (const byte data) |
string | GGetStringHexa (const void *data) |
string | GGetStringBin (const u_int64 data) |
string | GGetStringBin (const u_int data) |
string | GGetStringBin (const u_short data) |
string | GGetStringBin (const byte data) |
Source file for various string functions
Formatted writting of an integer in a string.
val | value to be written |
len | output string length |
c | filling character |
Referenced by GSortListT< T >::__Add(), GNamedListT< T >::__Add(), GTreeBranchT< T >::__Add(), GListT< T >::__Add(), GVectT< T >::__Assign(), GSortListT< T >::__Insert(), GNamedListT< T >::__Insert(), GTreeBranchT< T >::__Insert(), GListT< T >::__Insert(), GIntervalList::Add(), GListT< T >::Add(), GVectT< T >::Assign(), GVectT< T >::At(), GListT< T >::At(), GMatrixT< T >::CheckIndex(), GVectorT< T >::CheckIndex(), GRealSampleFFT::ComputeFunctionData(), GRealSampleFFT::ComputeTransformData(), GBaseSampleFFT::CopyData(), GBaseSampleFFT::GBaseSampleFFT(), GInterval::GetString(), GVectorT< T >::GetString(), GGetString(), GRealSampleFFT::GRealSampleFFT(), GBaseSampleFFT::InitData(), GRealSampleFFT::InitFunctionData(), GRealSampleFFT::InitTransformData(), GListT< T >::Insert(), GRealSampleFFT::InterpolateFrom(), GVectT< T >::operator[](), GVectT< T >::Remove(), GIntervalList::Remove(), GListT< T >::Remove(), GString::ReplaceFormat(), GBaseSampleFFT::ResetData(), GVectT< T >::Resize(), GBaseSampleFFT::ResizeData(), GRealSampleFFT::SetFunctionData(), and GRealSampleFFT::SetTimeResponse().
Formatted writting of an integer in a string.
val | value to be written |
len | output string length |
c | filling character |
string GGetString | ( | const int | val, |
const u_int | len, | ||
const char | c | ||
) |
Formatted writting of an integer in a string.
val | value to be written |
len | output string length |
c | filling character |
Formatted writting of an integer in a string.
val | value to be written |
len | output string length |
c | filling character |
Formatted writting of real value in a string. The function uses a C-style g format; in order to use a f format, use GGetString(float,char*,char) function..
val | value to be written |
len | output string length |
prec | format precision |
c | filling character |
Formatted writting of real value in a string. The function uses a C-style g format; in order to use a f format, use GGetString(float,char*,char) function..
val | value to be written |
len | output string length |
prec | format precision |
c | filling character |
string GGetString | ( | const float | val, |
const char * | fmt, | ||
const char | c | ||
) |
Formatted writting of real value in a string using a C-style format.
val | value to be written |
fmt | C-style format (f or g) |
c | filling character |
string GGetString | ( | const double | val, |
const char * | fmt, | ||
const char | c | ||
) |
Formatted writting of real value in a string using a C-style format.
val | value to be written |
fmt | C-style format (f or g) |
c | filling character |
string GGetStringBin | ( | const u_int64 | data | ) |
Binary writting of a 64 bits integer value in a string. (WORKS ONLY FOR 32 BITS !!!)
data | value to be written |
string GGetStringBin | ( | const u_int | data | ) |
Binary writting of a 32 bits integer value in a string.
data | value to be written |
string GGetStringBin | ( | const u_short | data | ) |
Binary writting of a 16 bits integer value in a string.
data | value to be written |
string GGetStringBin | ( | const byte | data | ) |
Binary writting of a 8 bits integer value in a string.
data | value to be written |
string GGetStringHexa | ( | const u_int64 | data | ) |
Hexadecimal writting of a 64 bits integer value in a string.
data | value to be written |
Referenced by GListT< T >::__Add(), GSortListT< T >::__AddSorted(), GListT< T >::__Insert(), GGetString(), and GBaseSampleFFT::Read().
string GGetStringHexa | ( | const u_int | data | ) |
Hexadecimal writting of a 32 bits integer value in a string.
data | value to be written |
string GGetStringHexa | ( | const u_short | data | ) |
Hexadecimal writting of a 16 bits integer value in a string.
data | value to be written |
string GGetStringHexa | ( | const byte | data | ) |
Hexadecimal writting of a 8 bits integer value in a string.
data | value to be written |
string GGetStringHexa | ( | const void * | data | ) |
Hexadecimal writting of a pointer in a string.
data | value to be written |