#include "gcl/MRModel.h"
#include "cl/String.h"
#include "gcl/VecUtil.h"
#include "gcl/Draw.h"
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <sys/mman.h>
#include <new.h>
#include "gcl/SceneLang.h"
Include dependency graph for MRModel.cc:
Go to the source code of this file.
Defines | |||
#define | MRV_COUT if (false) cerr | ||
#define | MR_MEM_MAP | ||
Functions | |||
Byte* | MemMap (StrConst filename, Int &size) | ||
Void | ReadArray (NBaseArray &a, Byte* &p, Int &size) | ||
template<class T> Void | ReadArray (Array<T> &a, Byte* &p, Int &size) | ||
scScenePtr | ParseMMFFile (const Char *filename) | ||
Variables | |||
const Int | kMRBVersion = 3 |
#define MRV_COUT if (false) cerr |
Definition at line 22 of file MRModel.cc.
#define MR_MEM_MAP |
Definition at line 25 of file MRModel.cc.
Byte * MemMap (StrConst filename, Int & size) |
Definition at line 746 of file MRModel.cc.
scScenePtr ParseMMFFile (const Char * filename) |
Definition at line 1715 of file MRModel.cc.
template<class T> Void ReadArray (Array<T>& a, Byte *& p, Int & size) |
Definition at line 800 of file MRModel.cc.
Void ReadArray (NBaseArray & a, Byte *& p, Int & size) |
Definition at line 785 of file MRModel.cc.
const Int kMRBVersion = 3 |
Definition at line 58 of file MRModel.cc.