represents fourcc ids as used in the riff format to identify chunks
More...
#include <riff.h>
|
| | fourcc (unsigned _id=0) |
| | construct from unsigned integer
|
| |
| | fourcc (const std::string &s) |
| | construct from string
|
| |
| std::string | to_string () const |
| | convert to string
|
| |
| bool | operator== (const std::string &s) const |
| | compare with string
|
| |
| bool | operator!= (const std::string &s) const |
| | compare with string
|
| |
|
| static unsigned | make_id (const std::string &ascii) |
| |
|
| unsigned | id |
| | store fourcc as 32 bit integer
|
| |
represents fourcc ids as used in the riff format to identify chunks
Definition at line 13 of file riff.h.
◆ fourcc() [1/2]
| cgv::media::fourcc::fourcc |
( |
unsigned |
_id = 0 | ) |
|
|
inline |
construct from unsigned integer
Definition at line 19 of file riff.h.
◆ fourcc() [2/2]
| cgv::media::fourcc::fourcc |
( |
const std::string & |
s | ) |
|
|
inline |
construct from string
Definition at line 21 of file riff.h.
◆ make_id()
| unsigned cgv::media::fourcc::make_id |
( |
const std::string & |
ascii | ) |
|
|
static |
◆ operator!=()
| bool cgv::media::fourcc::operator!= |
( |
const std::string & |
s | ) |
const |
compare with string
Definition at line 28 of file riff.cxx.
◆ operator==()
| bool cgv::media::fourcc::operator== |
( |
const std::string & |
s | ) |
const |
compare with string
Definition at line 23 of file riff.cxx.
◆ to_string()
| std::string cgv::media::fourcc::to_string |
( |
| ) |
const |
convert to string
Definition at line 18 of file riff.cxx.
◆ id
| unsigned cgv::media::fourcc::id |
store fourcc as 32 bit integer
Definition at line 17 of file riff.h.
The documentation for this struct was generated from the following files: