Archicad 29 C++ API
|
A class that represents a folder in the keynote tree structure. More...
#include <KeynoteFolder.hpp>
Public Member Functions | |
API_Guid | GetId () const |
FolderKey | GetKey () const |
Result< void > | SetKey (const FolderKey &newKey) |
Modifies the Key of the folder. | |
Title | GetTitle () const |
Result< void > | SetTitle (const Title &newTitle) |
Modifies the Title of the folder. | |
Reference | GetReference () const |
Result< void > | SetReference (const Reference &newReference) |
Modifies the Reference of the folder. | |
GS::UniString | GetUIText () const |
Result< KeynoteFolder > | GetParentFolder () const |
Result< std::vector< KeynoteFolder > > | GetDirectSubFolders () const |
Result< KeynoteFolder > | AddSubFolder (const FolderKey &key, const Title &title) |
Adds a new subfolder to the folder. | |
Result< void > | RemoveSubFolder (const FolderKey &key, const Title &title) |
Removes an existing subfolder of the folder. | |
Result< std::vector< KeynoteItem > > | GetDirectItems () const |
Result< KeynoteItem > | AddItem (const ItemKey &key) |
Adds a new item to the folder. | |
Result< void > | RemoveItem (const ItemKey &key) |
Removes an existing item of the folder. | |
![]() | |
Object (std::shared_ptr< Impl::ObjectImpl > impl) | |
Constructs a new object. | |
const API_Token & | GetToken () const |
Get the token for this object. | |
Friends | |
class | ACAPI::Impl::KeynoteManagerImpl |
class | KeynoteManager |
Additional Inherited Members | |
![]() | |
~Object () | |
Default destructor. | |
![]() | |
std::shared_ptr< Impl::ObjectImpl > | mImpl |
Impl object given by constructor. | |
A class that represents a folder in the keynote tree structure.
Result< KeynoteItem > ACAPI::Keynote::KeynoteFolder::AddItem | ( | const ItemKey & | key | ) |
Adds a new item to the folder.
key | The key of the new item |
Result< KeynoteFolder > ACAPI::Keynote::KeynoteFolder::AddSubFolder | ( | const FolderKey & | key, |
const Title & | title ) |
Adds a new subfolder to the folder.
key | The key of the new subfolder |
title | The title of the new subfodler |
Result< std::vector< KeynoteItem > > ACAPI::Keynote::KeynoteFolder::GetDirectItems | ( | ) | const |
Result< std::vector< KeynoteFolder > > ACAPI::Keynote::KeynoteFolder::GetDirectSubFolders | ( | ) | const |
API_Guid ACAPI::Keynote::KeynoteFolder::GetId | ( | ) | const |
FolderKey ACAPI::Keynote::KeynoteFolder::GetKey | ( | ) | const |
Result< KeynoteFolder > ACAPI::Keynote::KeynoteFolder::GetParentFolder | ( | ) | const |
Reference ACAPI::Keynote::KeynoteFolder::GetReference | ( | ) | const |
Title ACAPI::Keynote::KeynoteFolder::GetTitle | ( | ) | const |
GS::UniString ACAPI::Keynote::KeynoteFolder::GetUIText | ( | ) | const |
Result< void > ACAPI::Keynote::KeynoteFolder::RemoveItem | ( | const ItemKey & | key | ) |
Removes an existing item of the folder.
key | The key of the item to remove |
Result< void > ACAPI::Keynote::KeynoteFolder::RemoveSubFolder | ( | const FolderKey & | key, |
const Title & | title ) |
Removes an existing subfolder of the folder.
key | The key of the subfolder to remove |
title | The title of the subfolder to remove |
Result< void > ACAPI::Keynote::KeynoteFolder::SetKey | ( | const FolderKey & | newKey | ) |
Modifies the Key of the folder.
newKey | The key to be set |
Result< void > ACAPI::Keynote::KeynoteFolder::SetReference | ( | const Reference & | newReference | ) |
Modifies the Reference of the folder.
newReference | The Reference to be set |
Result< void > ACAPI::Keynote::KeynoteFolder::SetTitle | ( | const Title & | newTitle | ) |
Modifies the Title of the folder.
newTitle | The Title to be set |