![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cFourCC.h>
Public Member Functions | |
cFourCC () noexcept | |
cFourCC (FOURCC dwVal) noexcept | |
cFourCC (BYTE ch0, BYTE ch1, BYTE ch2, BYTE ch3) noexcept | |
cFourCC (const char *s) | |
bool | isValid () const noexcept |
FOURCC | get_FOURCC () const noexcept |
operator FOURCC () const noexcept | |
bool | isListType () const noexcept |
void | SetChars (BYTE ch0, BYTE ch1, BYTE ch2, BYTE ch3) noexcept |
void | SetChar (int i, BYTE ch) |
StrLen_t | GetStrA (char *pszOut, StrLen_t iSizeMax=5) const |
const char * | get_StrA () const |
UNITTEST2_PREDEF (cFourCC) | |
Static Public Member Functions | |
static bool GRAYCALL | IsValidChar (wchar_t ch) |
Public Attributes | |
cUnion32 | m_u |
e.g. "RIFF" is 0 to 3 u_c order. More... | |
A Four Character Code. Make a FOURCC/RIFF code. same as mmioFOURCC() or MAKEFOURCC() In order to simplify the mapping, GUIDs in the range: XXXXXXXX-0000-0010-8000-00AA00389B71 are reserved for FOURCCs. Capital letter codes are reserved words. Lower case letter codes are user specific, or locally defined codes. http://www.fourcc.org/codecs.php
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inline |
ASSUME length(s) >= 4
|
inlinenoexcept |
const char * GrayLib::cFourCC::get_StrA | ( | ) | const |
FOURCC/RIFF - MAKEFOURCC('A','r','t','T')
Get a FOURCC/RIFF chunk id code as a string. "ABCD" ASSUME iSizeMax <= 5 chars. 4 + null
|
inlinenoexcept |
is the FOURCC a know LIST/FORM type ?
|
inlinenoexcept |
|
static |
Is valid FOURCC/RIFF char? http://bgb-sys.sourceforge.net/LIFF_0_2_Specification.html chars not ASCII can crash isalnum() ?
|
inlinenoexcept |
|
inline |
|
inlinenoexcept |
GrayLib::cFourCC::UNITTEST2_PREDEF | ( | cFourCC | ) |
cUnion32 GrayLib::cFourCC::m_u |
e.g. "RIFF" is 0 to 3 u_c order.