Added copy constructors for MP4 boxes

This commit is contained in:
ozzay 2014-05-29 15:30:27 +02:00 committed by Thulinma
parent 1018622d95
commit a56f13bf8c
2 changed files with 104 additions and 7 deletions

View file

@ -15,13 +15,19 @@
/// Contains all MP4 format related code.
namespace MP4 {
std::string readBoxType(FILE * newData);
bool skipBox(FILE * newData);
class Box{
public:
Box(char * datapointer = 0, bool manage = true);
Box(const Box & rs);
Box& operator = (const Box & rs);
~Box();
std::string getType();
bool isType(const char* boxType);
bool read(FILE* newData);
bool read(std::string & newData);
uint64_t boxedSize();
uint64_t payloadSize();