Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members

FX::FXDocument Class Reference

Abstract base class for documents. More...

#include <FXDocument.h>

Inheritance diagram for FX::FXDocument:

FX::FXObject List of all members.

Public Types

enum  {
  ID_TITLE = 10000,

Public Member Functions

 FXDocument ()
FXbool isModified () const
void setModified (FXbool mdfy=TRUE)
void setTitle (const FXString &name)
FXString getTitle () const
void setFilename (const FXString &path)
FXString getFilename () const
virtual void save (FXStream &store) const
virtual void load (FXStream &store)
virtual ~FXDocument ()

Detailed Description

Abstract base class for documents.

Member Enumeration Documentation

anonymous enum

Enumeration values:
ID_TITLE  Don't interfere with viewer's message id's.

Constructor & Destructor Documentation

FX::FXDocument::FXDocument  ) 


virtual FX::FXDocument::~FXDocument  )  [virtual]


Member Function Documentation

FXbool FX::FXDocument::isModified  )  const [inline]

Return true if document is modified.

void FX::FXDocument::setModified FXbool  mdfy = TRUE  )  [inline]

Set its modified state.

void FX::FXDocument::setTitle const FXString name  ) 

Set document title.

FXString FX::FXDocument::getTitle  )  const [inline]

Get document title.

void FX::FXDocument::setFilename const FXString path  ) 

Set document filename.

FXString FX::FXDocument::getFilename  )  const [inline]

Get document filename.

virtual void FX::FXDocument::save FXStream store  )  const [virtual]

Save document to a stream.

Reimplemented from FX::FXObject.

virtual void FX::FXDocument::load FXStream store  )  [virtual]

Load document from a stream.

Reimplemented from FX::FXObject.

Copyright © 1997-2004 Jeroen van der Zijp