|
Revision 157
(checked in by ldavis, 4 years ago)
|
added svn:eol-style to all files
added svn:mime-type to all files
|
- Property svn:mime-type set to
text/plain
- Property svn:eol-style set to
native
|
| Line | |
|---|
| 1 |
// SSBranchFileObject.h: interface for the SSBranchFileObject class. |
|---|
| 2 |
// |
|---|
| 3 |
////////////////////////////////////////////////////////////////////// |
|---|
| 4 |
|
|---|
| 5 |
#if !defined(AFX_SSBRANCHFILEOBJECT_H__A0EACDCC_E735_4F39_B5F4_609876C5878B__INCLUDED_) |
|---|
| 6 |
#define AFX_SSBRANCHFILEOBJECT_H__A0EACDCC_E735_4F39_B5F4_609876C5878B__INCLUDED_ |
|---|
| 7 |
|
|---|
| 8 |
#if _MSC_VER > 1000 |
|---|
| 9 |
#pragma once |
|---|
| 10 |
#endif // _MSC_VER > 1000 |
|---|
| 11 |
|
|---|
| 12 |
#include "SSObject.h" |
|---|
| 13 |
|
|---|
| 14 |
class SSBranchFileObject : public SSObject |
|---|
| 15 |
{ |
|---|
| 16 |
public: |
|---|
| 17 |
SSBranchFileObject(SSRecordPtr pRecord); |
|---|
| 18 |
virtual ~SSBranchFileObject(); |
|---|
| 19 |
|
|---|
| 20 |
ulong GetPreviousOffset () const { return GetData ()->previousOffset; } |
|---|
| 21 |
std::string GetBranchToPhys () const { return GetData ()->branchToPhys; } |
|---|
| 22 |
|
|---|
| 23 |
SSBranchFileObject* GetPrevious (); |
|---|
| 24 |
|
|---|
| 25 |
virtual void Accept (ISSObjectVisitor& rVisitor, const ISSContext* pCtx = NULL) const { rVisitor.Apply (*this, pCtx); } |
|---|
| 26 |
const BF* GetData () const { return reinterpret_cast<const BF*> (SSObject::GetData ()); } |
|---|
| 27 |
|
|---|
| 28 |
void ToXml (XMLNode* pParent) const; |
|---|
| 29 |
void Dump (std::ostream& os) const; |
|---|
| 30 |
private: |
|---|
| 31 |
}; |
|---|
| 32 |
|
|---|
| 33 |
|
|---|
| 34 |
#endif // !defined(AFX_SSBRANCHFILEOBJECT_H__A0EACDCC_E735_4F39_B5F4_609876C5878B__INCLUDED_) |
|---|