shared_ptr
This commit is contained in:
parent
1251daf9fc
commit
6f2b284f2b
@ -5,10 +5,13 @@
|
|||||||
// James Turk (jpt2433@rit.edu)
|
// James Turk (jpt2433@rit.edu)
|
||||||
//
|
//
|
||||||
// Version:
|
// Version:
|
||||||
// $Id: types.h,v 1.1 2005/01/27 03:35:23 cozman Exp $
|
// $Id: types.h,v 1.2 2005/02/04 08:12:14 cozman Exp $
|
||||||
//
|
//
|
||||||
// Revisions:
|
// Revisions:
|
||||||
// $Log: types.h,v $
|
// $Log: types.h,v $
|
||||||
|
// Revision 1.2 2005/02/04 08:12:14 cozman
|
||||||
|
// shared_ptr
|
||||||
|
//
|
||||||
// Revision 1.1 2005/01/27 03:35:23 cozman
|
// Revision 1.1 2005/01/27 03:35:23 cozman
|
||||||
// initial import (exceptions,types, and logging,oh my!)
|
// initial import (exceptions,types, and logging,oh my!)
|
||||||
//
|
//
|
||||||
@ -17,24 +20,30 @@
|
|||||||
#ifndef PHOTON_TYPES_H
|
#ifndef PHOTON_TYPES_H
|
||||||
#define PHOTON_TYPES_H
|
#define PHOTON_TYPES_H
|
||||||
|
|
||||||
|
#include <boost/shared_ptr.hpp>
|
||||||
|
|
||||||
// Title: Basic Types
|
// Title: Basic Types
|
||||||
|
|
||||||
namespace photon {
|
namespace photon {
|
||||||
|
|
||||||
// Group: Types
|
// Group: Types
|
||||||
|
|
||||||
// Typedef: ubyte
|
// Type: ubyte
|
||||||
// Unsigned byte, alias for unsigned char.
|
// Unsigned byte, alias for unsigned char.
|
||||||
typedef unsigned char ubyte;
|
typedef unsigned char ubyte;
|
||||||
|
|
||||||
// Typedef: uint
|
// Type: uint
|
||||||
// Alias for unsigned integer.
|
// Alias for unsigned integer.
|
||||||
typedef unsigned int uint;
|
typedef unsigned int uint;
|
||||||
|
|
||||||
// Typedef: scalar
|
// Type: scalar
|
||||||
// Scalar value, used throughout photon. (double or float)
|
// Scalar value, used throughout photon. (double or float)
|
||||||
typedef double scalar;
|
typedef double scalar;
|
||||||
|
|
||||||
|
// Type: shared_ptr
|
||||||
|
// Shared pointer type. (uses the boost implementation)
|
||||||
|
using boost::shared_ptr;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif //PHOTON_TYPES_H
|
#endif //PHOTON_TYPES_H
|
||||||
|
Loading…
Reference in New Issue
Block a user