CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
PdfPublishCollectionFolder.h
Go to the documentation of this file.
1
2// Copyright (C) 2002-2024, Open Design Alliance (the "Alliance").
3// All rights reserved.
4//
5// This software and its documentation and related materials are owned by
6// the Alliance. The software may only be incorporated into application
7// programs owned by members of the Alliance, subject to a signed
8// Membership Agreement and Supplemental Software License Agreement with the
9// Alliance. The structure and organization of this software are the valuable
10// trade secrets of the Alliance and its suppliers. The software is also
11// protected by copyright law and international treaty provisions. Application
12// programs incorporating this software must include the following statement
13// with their copyright notices:
14//
15// This application incorporates Open Design Alliance software pursuant to a license
16// agreement with Open Design Alliance.
17// Open Design Alliance Copyright (C) 2002-2024 by Open Design Alliance.
18// All rights reserved.
19//
20// By use of this software, its documentation or related materials, you
21// acknowledge and accept the above terms.
23
24
26//
27// PdfPublishCollectionFolder.h
28//
30
31#ifndef _PDF_PUBLISH_ATTACHED_FOLDER_INCLUDED_
32#define _PDF_PUBLISH_ATTACHED_FOLDER_INCLUDED_
33
35#include "PdfPublishImage.h"
36#include "StringArray.h"
37#include "DoubleArray.h"
38
43namespace OdPdfPublish{
44
45 class OdAttachedFolder;
50
54class PDFPUBLISH_TOOLKIT OdAttachedFolder : public OdObject
55{
56 //DOM-IGNORE-BEGIN
57protected:
59 //DOM-IGNORE-END
60public:
61 //DOM-IGNORE-BEGIN
64 //DOM-IGNORE-END
65
70
77 void setName(const OdString& name);
78
84 void setDescription(const OdString& description);
85
91 void setCreationDate(const OdTimeStamp& creation_date);
92
98 void setModDate(const OdTimeStamp& mod_date);
99
105 void setThumb(const OdImagePtr& pImage);
106
115 void addTextCollectionItem(const OdString& name, const OdString& item);
116
126
135 void addNumberCollectionItem(const OdString& name, const double& number);
136
142 void addChildFolder(const OdAttachedFolderPtr& folder);
143
149 void addFile(const OdAttachedFilePtr& file);
150
157 void getName(OdString& name) const;
158
165 void getDescription(OdString& description) const;
166
173 void getCreationDate(OdTimeStamp& creation_date) const;
174
181 void getModDate(OdTimeStamp& mod_date) const;
182
189 void getThumb(OdImagePtr& pOutImage) const;
190
199
208
217
224 void getChildFolders(OdAttachedFolderPtrArray& folders) const;
225
232 void getFiles(OdAttachedFilePtrArray& files) const;
233
234};
235
236}
237#endif // _PDF_PUBLISH_ATTACHED_FOLDER_INCLUDED_
238
OdArray< OdDouble, OdMemoryAllocator< OdDouble > > OdDoubleArray
Definition DoubleArray.h:36
#define SMARTPTR(classname)
Definition IfcCommon.h:33
#define PDFPUBLISH_TOOLKIT
OdArray< OdString > OdStringArray
Definition StringArray.h:32
void getDateCollectionItems(OdStringArray &names, OdArray< OdTimeStamp > &dates) const
void getDescription(OdString &description) const
void getTextCollectionItems(OdStringArray &names, OdStringArray &items) const
void getThumb(OdImagePtr &pOutImage) const
void addTextCollectionItem(const OdString &name, const OdString &item)
void getName(OdString &name) const
void getModDate(OdTimeStamp &mod_date) const
void setThumb(const OdImagePtr &pImage)
void addFile(const OdAttachedFilePtr &file)
void getChildFolders(OdAttachedFolderPtrArray &folders) const
void getFiles(OdAttachedFilePtrArray &files) const
void setModDate(const OdTimeStamp &mod_date)
void setName(const OdString &name)
void setCreationDate(const OdTimeStamp &creation_date)
void getCreationDate(OdTimeStamp &creation_date) const
void setDescription(const OdString &description)
void addChildFolder(const OdAttachedFolderPtr &folder)
void addNumberCollectionItem(const OdString &name, const double &number)
ODRX_DECLARE_MEMBERS(OdAttachedFolder)
void addDateCollectionItem(const OdString &name, const OdTimeStamp &date)
void getNumberCollectionItems(OdStringArray &names, OdDoubleArray &numbers) const
GLuint const GLchar * name
Definition gles2_ext.h:265