1 // SSParentFolderObject.h: interface for the SSParentFolderObject class.
3 //////////////////////////////////////////////////////////////////////
5 #if !defined(AFX_SSPARENTFOLDEROBJECT_H__B896F3FB_BA6B_4A5E_B7E4_0FEDB9B6B930__INCLUDED_)
6 #define AFX_SSPARENTFOLDEROBJECT_H__B896F3FB_BA6B_4A5E_B7E4_0FEDB9B6B930__INCLUDED_
10 #endif // _MSC_VER > 1000
14 class SSParentFolderObject
: public SSObject
17 SSParentFolderObject(SSRecordPtr pRecord
);
18 virtual ~SSParentFolderObject();
20 ulong
GetPreviousOffset () const { return GetData ()->PreviousOffset
; }
21 std::string
GetParentPhys () const { return GetData ()->ParentPhys
; }
23 SSParentFolderObject
* GetPrevious ();
25 virtual void Accept (ISSObjectVisitor
& rVisitor
, const ISSContext
* pCtx
= NULL
) const { rVisitor
.Apply (*this, pCtx
); }
26 const PF
* GetData () const { return reinterpret_cast<const PF
*> (SSObject::GetData ()); }
28 void ToXml (XMLNode
* pParent
) const;
29 void Dump (std::ostream
& os
) const;
33 #endif // !defined(AFX_SSPARENTFOLDEROBJECT_H__B896F3FB_BA6B_4A5E_B7E4_0FEDB9B6B930__INCLUDED_)