PF_API 0.52
Public Member Functions | Public Attributes

OpenSkyNet::PF::DirOrPath Struct Reference

#include <PFAStar.h>

List of all members.

Public Member Functions

 DirOrPath ()
 DirOrPath (CD::DIRECTION dir_)
 DirOrPath (const Math::Path &path_)
 DirOrPath ()
 DirOrPath (CD::DIRECTION dir_)
 DirOrPath (const Math::Path &path_)

Public Attributes

bool _isDir
CD::DIRECTION _dir
Math::Path _path

Detailed Description

Stores a DIRECTION and Path, but only uses one at a time. This structure can not be a union because a Path has a dynamic size.


Constructor & Destructor Documentation

OpenSkyNet::PF::DirOrPath::DirOrPath ( ) [inline]
OpenSkyNet::PF::DirOrPath::DirOrPath ( CD::DIRECTION  dir_) [inline]
OpenSkyNet::PF::DirOrPath::DirOrPath ( const Math::Path path_) [inline]
OpenSkyNet::PF::DirOrPath::DirOrPath ( ) [inline]
OpenSkyNet::PF::DirOrPath::DirOrPath ( CD::DIRECTION  dir_) [inline]
OpenSkyNet::PF::DirOrPath::DirOrPath ( const Math::Path path_) [inline]

Member Data Documentation


The documentation for this struct was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines