NCBI C++ ToolKit
|
Search Toolkit Book for IGBProject
IGBProject - abstract interface for a project used by CGBProjectHandle. More...
#include <objects/gbproj/igbproject.hpp>
Public Types | |
enum | EProjectVersion { eVersion_Invalid = -1 , eVersion_Unknown = 0 , eVersion1 = 1 , eVersion2 = 2 } |
typedef CProjectDescr | TDescr |
typedef CProjectFolder | TData |
typedef list< CRef< CProjectAnnot > > | TAnnot |
typedef list< CRef< CViewDescriptor > > | TViews |
typedef list< CRef< CLoaderDescriptor > > | TDataLoaders |
typedef list< CRef< CUser_object > > | TViewSettings |
Public Member Functions | |
virtual | ~IGBProject () |
virtual EProjectVersion | GetVersion () const =0 |
retrieve this project's version; this is fixed per subclass More... | |
virtual void | AddItem (CProjectItem &item, CProjectFolder &folder)=0 |
Add an item to the current project. More... | |
virtual const CProjectFolder & | GetData () const =0 |
retrieve our project's data, in the form of a project folder this may be a contrived entity, and it is up to a project to determine what parts belong where More... | |
virtual CProjectFolder & | SetData ()=0 |
virtual bool | IsSetDescr () const =0 |
retrieve our project's descriptor set More... | |
virtual const CProjectDescr & | GetDescr () const =0 |
virtual CProjectDescr & | SetDescr ()=0 |
virtual bool | IsSetAnnot () const =0 |
retrieve a set of annotations for this project More... | |
virtual const TAnnot & | GetAnnot () const =0 |
virtual TAnnot & | SetAnnot ()=0 |
virtual void | SetCreateDate (const CDate &date)=0 |
SetCreateDate() will add a descriptor for creation date. More... | |
virtual void | SetModifiedDate (const CDate &date)=0 |
SetModifiedDate() will add a descriptor for the update date. More... | |
virtual bool | IsSetDataLoaders () const =0 |
data loader info. More... | |
virtual const TDataLoaders & | GetDataLoaders () const =0 |
virtual TDataLoaders & | SetDataLoaders ()=0 |
virtual bool | IsSetViews () const =0 |
view info More... | |
virtual const TViews & | GetViews () const =0 |
virtual TViews & | SetViews ()=0 |
virtual bool | IsSetViewSettings () const =0 |
view-specific settings. More... | |
virtual const TViewSettings & | GetViewSettings () const =0 |
virtual TViewSettings & | SetViewSettings ()=0 |
IGBProject - abstract interface for a project used by CGBProjectHandle.
Definition at line 56 of file igbproject.hpp.
typedef list< CRef< CProjectAnnot > > IGBProject::TAnnot |
Definition at line 68 of file igbproject.hpp.
typedef CProjectFolder IGBProject::TData |
Definition at line 67 of file igbproject.hpp.
typedef list< CRef< CLoaderDescriptor > > IGBProject::TDataLoaders |
Definition at line 70 of file igbproject.hpp.
typedef CProjectDescr IGBProject::TDescr |
Definition at line 66 of file igbproject.hpp.
typedef list< CRef< CViewDescriptor > > IGBProject::TViews |
Definition at line 69 of file igbproject.hpp.
typedef list< CRef< CUser_object > > IGBProject::TViewSettings |
Definition at line 71 of file igbproject.hpp.
Enumerator | |
---|---|
eVersion_Invalid | |
eVersion_Unknown | |
eVersion1 | |
eVersion2 |
Definition at line 59 of file igbproject.hpp.
|
inlinevirtual |
Definition at line 74 of file igbproject.hpp.
|
pure virtual |
Add an item to the current project.
Implemented in CGBProject_ver2, and CGBProject.
Implemented in CGBProject_ver2, and CGBProject.
Referenced by CGBProjectHandle::GetAnnot().
|
pure virtual |
retrieve our project's data, in the form of a project folder this may be a contrived entity, and it is up to a project to determine what parts belong where
Implemented in CGBProject_ver2, and CGBProject.
Referenced by CGBProjectHandle::GetData().
|
pure virtual |
Implemented in CGBProject_ver2, and CGBProject.
|
pure virtual |
Implemented in CGBProject_ver2, and CGBProject.
Referenced by CGBProjectHandle::GetDescr().
|
pure virtual |
retrieve this project's version; this is fixed per subclass
Implemented in CGBProject_ver2, and CGBProject.
Referenced by CGBProjectHandle::GetVersion(), CGBProjectHandle::Save(), and CGBDocument::x_SaveFile().
Implemented in CGBProject_ver2, and CGBProject.
|
pure virtual |
Implemented in CGBProject_ver2, and CGBProject.
|
pure virtual |
retrieve a set of annotations for this project
Implemented in CGBProject_ver2, and CGBProject.
Referenced by CGBProjectHandle::IsSetAnnot().
|
pure virtual |
data loader info.
Implemented in CGBProject_ver2, and CGBProject.
|
pure virtual |
retrieve our project's descriptor set
Implemented in CGBProject_ver2, and CGBProject.
|
pure virtual |
view info
Implemented in CGBProject_ver2, and CGBProject.
|
pure virtual |
view-specific settings.
Implemented in CGBProject_ver2, and CGBProject.
|
pure virtual |
Implemented in CGBProject_ver2, and CGBProject.
Referenced by CGBProjectHandle::SetAnnot().
SetCreateDate() will add a descriptor for creation date.
Implemented in CGBProject_ver2, and CGBProject.
Referenced by CGBProjectHandle::SetCreateDate().
|
pure virtual |
Implemented in CGBProject_ver2, and CGBProject.
Referenced by CGBProjectHandle::SetData().
|
pure virtual |
Implemented in CGBProject_ver2, and CGBProject.
|
pure virtual |
Implemented in CGBProject_ver2, and CGBProject.
Referenced by CGBProjectHandle::SetDescr().
SetModifiedDate() will add a descriptor for the update date.
Implemented in CGBProject_ver2, and CGBProject.
Referenced by CGBProjectHandle::SetModifiedDate().
|
pure virtual |
Implemented in CGBProject_ver2, and CGBProject.
|
pure virtual |
Implemented in CGBProject_ver2, and CGBProject.