Assimp  v3.1.1 (June 2014)
assimp::types Namespace Reference

Contains miscellaneous types used in Assimp's C API. More...

Classes

struct  aiLogStream
 Represents a log stream. More...
 
struct  aiMemoryInfo
 Stores the memory requirements for different components (e.g. More...
 
struct  aiString
 Represents an UTF-8 string, zero byte terminated. More...
 

Enumerations

enum  aiDefaultLogStream : uint { FILE = 0x1, STDOUT = 0x2, STDERR = 0x4, DEBUGGER = 0x8 }
 Enumerates predefined log streaming destinations. More...
 
enum  aiOrigin : uint { SET = 0x0, CUR = 0x1, END = 0x2 }
 Seek origins (for the virtual file system API). More...
 
enum  aiReturn : uint { SUCCESS = 0x0, FAILURE = -0x1, OUTOFMEMORY = -0x3 }
 Standard return type for some library functions. More...
 

Variables

 C
 
const size_t MAXLEN = 1024
 Maximum dimension for aiStrings. More...
 

Detailed Description

Contains miscellaneous types used in Assimp's C API.

Enumeration Type Documentation

§ aiDefaultLogStream

Enumerates predefined log streaming destinations.

Logging to these streams can be enabled with a single call to aiAttachPredefinedLogStream().

Enumerator
FILE 

Stream the log to a file.

STDOUT 

Stream the log to standard output.

STDERR 

Stream the log to standard error.

DEBUGGER 

MSVC only: Stream the log the the debugger (this relies on OutputDebugString from the Win32 SDK).

§ aiOrigin

Seek origins (for the virtual file system API).

Enumerator
SET 

Beginning of the file.

CUR 

Current position of the file pointer.

END 

End of the file.

Offsets must be negative.

§ aiReturn

Standard return type for some library functions.

Enumerator
SUCCESS 

Indicates that a function was successful.

FAILURE 

Indicates that a function failed.

OUTOFMEMORY 

Indicates that not enough memory was available to perform the requested operation.

Variable Documentation

§ C

assimp::types::C
Initial value:
{
enum aiBool : int {
FALSE = 0,
TRUE = 1
}
alias void function( char* message, char* user ) aiLogStreamCallback
int aiBool
Our own C boolean type.
Definition: cimport.h:89
void(* aiLogStreamCallback)(const char *, char *)
Definition: cimport.h:56

§ MAXLEN

const size_t assimp::types::MAXLEN = 1024

Maximum dimension for aiStrings.

Assimp strings are zero terminated.