41 #ifndef OBJECTS_GBPROJ_PROJECTFOLDER_BASE_HPP
42 #define OBJECTS_GBPROJ_PROJECTFOLDER_BASE_HPP
55 #ifndef BEGIN_objects_SCOPE
56 # define BEGIN_objects_SCOPE BEGIN_SCOPE(objects)
57 # define END_objects_SCOPE END_SCOPE(objects)
95 typedef list< CRef< CProjectFolder > >
TFolders;
96 typedef list< CRef< CProjectItem > >
TItems;
117 bool IsSetInfo(
void)
const;
124 bool CanGetInfo(
void)
const;
127 void ResetInfo(
void);
133 const TInfo& GetInfo(
void)
const;
145 TInfo& SetInfo(
void);
154 bool IsSetFolders(
void)
const;
161 bool CanGetFolders(
void)
const;
164 void ResetFolders(
void);
170 const TFolders& GetFolders(
void)
const;
185 bool IsSetItems(
void)
const;
192 bool CanGetItems(
void)
const;
195 void ResetItems(
void);
201 const TItems& GetItems(
void)
const;
210 virtual void Reset(
void);
Base class for all serializable objects.
Defines to provide correct exporting from DLLs in Windows.
#define NCBI_GBPROJ_EXPORT
bool NotEmpty(void) const noexcept
Check if CRef is not empty – pointing to an object and has a non-null value.
uint32_t Uint4
4-byte (32-bit) unsigned integer
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
CProjectFolder_Base(const CProjectFolder_Base &)
CProjectFolder_Base & operator=(const CProjectFolder_Base &)
list< CRef< CProjectItem > > TItems
const TInfo & GetInfo(void) const
Get the Info member data.
void ResetInfo(void)
Reset Info data member.
TFolders & SetFolders(void)
Assign a value to Folders data member.
bool IsSetFolders(void) const
Check if a value has been assigned to Folders data member.
bool IsSetItems(void) const
Check if a value has been assigned to Items data member.
const TFolders & GetFolders(void) const
Get the Folders member data.
bool CanGetInfo(void) const
Check if it is safe to call GetInfo method.
TInfo & SetInfo(void)
Assign a value to Info data member.
Tparent::CMemberIndex< E_memberIndex, 4 > TmemberIndex
list< CRef< CProjectFolder > > TFolders
bool CanGetItems(void) const
Check if it is safe to call GetItems method.
bool IsSetInfo(void) const
Check if a value has been assigned to Info data member.
const TItems & GetItems(void) const
Get the Items member data.
DECLARE_INTERNAL_TYPE_INFO()
list< CRef< CProjectFolder > > m_Folders
bool CanGetFolders(void) const
Check if it is safe to call GetFolders method.
TItems & SetItems(void)
Assign a value to Items data member.
list< CRef< CProjectItem > > m_Items
const GenericPointer< typename T::ValueType > T2 value