OWLNext    7.0
Borland's Object Windows Library for the modern age
Loading...
Searching...
No Matches
doctpl.h File Reference

Definition of class TDocTemplate, and class template TDocTemplateT<D,V> More...

#include <owl/private/defs.h>
#include <owl/defs.h>
#include <owl/registry.h>
#include <owl/objstrm.h>
#include <owl/private/gmodule.h>
#include <owl/preclass.h>
#include <owl/posclass.h>

Go to the source code of this file.

Classes

class  owl::TDocTemplate
 TDocTemplate is an abstract base class that contains document template functionality. More...
 
class  owl::TDocTemplateT< D, V >
 To register the associated document and view classes, a parameterized subclass, TDocTemplateT<D,V>, is used to construct a particular document and view, where D represents the document class and V represents the view class. More...
 

Namespaces

namespace  owl
 Object Windows Library (OWLNext Core)
 

Macros

#define _DOCVIEWENTRY
 
#define DECLARE_STREAMABLE_OPSDV(cls)
 
#define DEFINE_DOC_TEMPLATE_CLASS(docClass, viewClass, cls)
 

Variables

owl::TDocTemplateDocTemplateStaticHead
 Templates constructed before app get linked onto this head pointer.
 
const uint owl::dtNewDoc = 0x80000000L
 create new document, no path used
 
const uint owl::dtAutoDelete = 0x40000000L
 delete doc when last view is deleted
 
const uint owl::dtNoAutoView = 0x20000000L
 no automatic create of default view
 
const uint owl::dtSingleView = 0x10000000L
 only a single view per document
 
const uint owl::dtAutoOpen = 0x08000000L
 open document upon creation
 
const uint owl::dtUpdateDir = 0x04000000L
 syncronize directory with dialog dir
 
const uint owl::dtHidden = 0x02000000L
 hide template from user selection
 
const uint owl::dtSelected = 0x01000000L
 indicates template last selected
 
const uint owl::dtDynRegInfo = 0x00800000L
 reginfo table is dynamic, not static
 
const uint owl::dtSingleUse = 0x00400000L
 to be registered as single use
 
const uint owl::dtRegisterExt = 0x00200000L
 register extension with this app
 
const uint owl::dtForbidNew = 0x00100000L
 forbids creating new document
 
const uint owl::dtReadOnly = 0x0001
 
const uint owl::dtOverwritePrompt = 0x0002
 
const uint owl::dtHideReadOnly = 0x0004
 
const uint owl::dtPathMustExist = 0x0800
 
const uint owl::dtFileMustExist = 0x1000
 
const uint owl::dtCreatePrompt = 0x2000
 
const uint owl::dtNoReadOnly = 0x8000
 
const uint owl::dtNoTestCreate = 0x10000L
 

Detailed Description

Definition of class TDocTemplate, and class template TDocTemplateT<D,V>

Definition in file doctpl.h.

Macro Definition Documentation

◆ _DOCVIEWENTRY

#define _DOCVIEWENTRY

Definition at line 22 of file doctpl.h.

◆ DEFINE_DOC_TEMPLATE_CLASS

#define DEFINE_DOC_TEMPLATE_CLASS ( docClass,
viewClass,
cls )
Value:
typedef ::owl::TDocTemplateT<docClass, viewClass> cls;\
TDocTemplate is an abstract base class that contains document template functionality.
Definition doctpl.h:55

Definition at line 432 of file doctpl.h.

Variable Documentation

◆ DocTemplateStaticHead

owl::TDocTemplate* DocTemplateStaticHead
extern

Templates constructed before app get linked onto this head pointer.

Definition at line 66 of file global.cpp.