CL_OutlineProviderFile Class Reference
[clanDisplay Collision]

File outline provider is used to load precompiled outlines. More...

#include <outline_provider_file.h>

Inheritance diagram for CL_OutlineProviderFile:
Inheritance graph
[legend]

List of all members.

Public Member Functions

Construction

 CL_OutlineProviderFile (CL_IODevice &file)
 Construct a outline provider.
 CL_OutlineProviderFile (const CL_StringRef &fullname)
 Constructs a OutlineProviderFile.
 CL_OutlineProviderFile (const CL_StringRef &filename, const CL_VirtualDirectory &directory)
 Constructs a OutlineProviderFile.
 ~CL_OutlineProviderFile ()
Attributes

virtual std::vector< CL_Contourget_contours ()
 return the countours that make up the outline
virtual int get_width ()
 Not used for file provider. Returns -1.
virtual int get_height ()
 Not used for file provider. Returns -1.
Operations

virtual void destroy ()
 Destroys the provider.

Detailed Description

File outline provider is used to load precompiled outlines.

A CL_OutlineProviderFile is used to load precompiled outlines.


Constructor & Destructor Documentation

CL_OutlineProviderFile::CL_OutlineProviderFile ( CL_IODevice file  ) 

Construct a outline provider.

Parameters:
file = file to load.
CL_OutlineProviderFile::CL_OutlineProviderFile ( const CL_StringRef fullname  ) 

Constructs a OutlineProviderFile.

Parameters:
fullname = String Ref
CL_OutlineProviderFile::CL_OutlineProviderFile ( const CL_StringRef filename,
const CL_VirtualDirectory directory 
)

Constructs a OutlineProviderFile.

Parameters:
filename = String Ref
directory = Virtual Directory
CL_OutlineProviderFile::~CL_OutlineProviderFile (  ) 

Member Function Documentation

virtual void CL_OutlineProviderFile::destroy (  )  [virtual]

Destroys the provider.

Implements CL_OutlineProvider.

virtual std::vector<CL_Contour> CL_OutlineProviderFile::get_contours (  )  [virtual]

return the countours that make up the outline

Implements CL_OutlineProvider.

virtual int CL_OutlineProviderFile::get_height (  )  [virtual]

Not used for file provider. Returns -1.

Implements CL_OutlineProvider.

virtual int CL_OutlineProviderFile::get_width (  )  [virtual]

Not used for file provider. Returns -1.

Implements CL_OutlineProvider.


The documentation for this class was generated from the following file: