// This file is generated by WOK (CPPExt). // Please do not edit this file; modify original file instead. // The copyright and license terms as defined for the original file apply to // this header file considered to be the "object code" form of the original source. #ifndef _TDocStd_PathParser_HeaderFile #define _TDocStd_PathParser_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_Macro_HeaderFile #include #endif #ifndef _TCollection_ExtendedString_HeaderFile #include #endif #ifndef _Standard_Integer_HeaderFile #include #endif class TCollection_ExtendedString; //! parse an OS path
class TDocStd_PathParser { public: void* operator new(size_t,void* anAddress) { return anAddress; } void* operator new(size_t size) { return Standard::Allocate(size); } void operator delete(void *anAddress) { if (anAddress) Standard::Free((Standard_Address&)anAddress); } Standard_EXPORT TDocStd_PathParser(const TCollection_ExtendedString& path); Standard_EXPORT void Parse() ; Standard_EXPORT TCollection_ExtendedString Trek() const; Standard_EXPORT TCollection_ExtendedString Name() const; Standard_EXPORT TCollection_ExtendedString Extension() const; Standard_EXPORT TCollection_ExtendedString Path() const; Standard_EXPORT Standard_Integer Length() const; protected: private: TCollection_ExtendedString myPath; TCollection_ExtendedString myExtension; TCollection_ExtendedString myTrek; TCollection_ExtendedString myName; }; // other Inline functions and methods (like "C++: function call" methods) #endif