#include <AIDA_Tree.h>
Collaboration diagram for Anaphe::AIDA_Tree_native::AIDA_Tree:
Public Methods | |
AIDA_Tree (AIDA::Dev::IStore *store) | |
Constructor. | |
~AIDA_Tree () | |
Destructor. | |
bool | add (AIDA::IManagedObject *object, const std::string &directory=".") |
Methods inherited from the IDevTree class. | |
bool | copyAndAdd (AIDA::IManagedObject *object, const std::string &newPath) |
AIDA::Dev::IStore * | store (const std::string &path=".") |
AIDA::Dev::IStore * | nativeStore () |
std::string | pathInStore (const AIDA::IManagedObject &object) const |
bool | existsDirectory (const std::string &directory) const |
bool | isMounted () const |
bool | setParentTree (AIDA::Dev::IDevTree *parentTree) |
bool | unmountTree (AIDA::Dev::IDevTree *daughterTree) |
const std::string & | storeName () const |
Methods inherited from the ITree class. | |
AIDA::IManagedObject * | find (const std::string &path) |
bool | cd (const std::string &path) |
const std::string & | pwd () const |
bool | ls (const std::string &path=".", bool recursive=false, std::ostream &os=std::cout) const |
std::vector< std::string > | listObjectNames (const std::string &path=".", bool recursive=false) const |
std::vector< std::string > | listObjectTypes (const std::string &path=".", bool recursive=false) const |
bool | mkdir (const std::string &path) |
bool | mkdirs (const std::string &path) |
bool | rmdir (const std::string &path) |
bool | rm (const std::string &path) |
std::string | findPath (const AIDA::IManagedObject &object) const |
bool | mv (const std::string &oldPath, const std::string &newPath) |
bool | commit () |
void | setOverwrite (bool overwrite=true) |
bool | cp (const std::string &oldPath, const std::string &newPath, bool recursive=false) |
bool | symlink (const std::string &path, const std::string &alias) |
bool | mount (const std::string &path, AIDA::ITree &tree, const std::string &treePath) |
bool | unmount (const std::string &path) |
bool | close () |
Private Methods | |
std::string | absolutePath (const std::string &path) const |
Private Attributes | |
AIDA::Dev::IStore * | m_store |
AIDA::Dev::IDevTree * | m_parentTree |
bool | m_overWrite |
std::string | m_cwd |
std::map< AIDA::Dev::IDevTree *, Anaphe::AIDA_Tree_native::MountInfo * > | m_mountPoints |
std::map< const AIDA::IManagedObject *, std::string > | m_objectPaths |
Anaphe::AIDA_Tree_native::SubTree * | m_rootDir |
|
Definition at line 10 of file AIDA_Tree.cpp. References Anaphe::AIDA_Tree_native::SubTree::add(), m_objectPaths, m_rootDir, m_store, and Anaphe::AIDA_Tree_native::SubTree::mkdirs(). |
|
Definition at line 44 of file AIDA_Tree.cpp. References m_mountPoints, m_parentTree, m_rootDir, and m_store. |
|
Definition at line 492 of file AIDA_Tree.cpp. References emptyString, and m_cwd. Referenced by add(), cd(), copyAndAdd(), cp(), existsDirectory(), find(), listObjectNames(), listObjectTypes(), mkdir(), mkdirs(), mount(), mv(), rm(), rmdir(), store(), symlink(), and unmount(). |
|
Definition at line 67 of file AIDA_Tree.cpp. References absolutePath(), Anaphe::AIDA_Tree_native::SubTree::add(), m_objectPaths, m_overWrite, and m_rootDir. |
|
Definition at line 160 of file AIDA_Tree.cpp. References absolutePath(), and m_cwd. |
|
Definition at line 451 of file AIDA_Tree.cpp. References m_store. |
|
Definition at line 339 of file AIDA_Tree.cpp. References m_mountPoints, and m_store. |
|
Definition at line 84 of file AIDA_Tree.cpp. References absolutePath(), Anaphe::AIDA_Tree_native::SubTree::add(), existsDirectory(), m_objectPaths, m_overWrite, m_rootDir, and m_store. Referenced by cp(). |
|
Definition at line 367 of file AIDA_Tree.cpp. References absolutePath(), copyAndAdd(), find(), listObjectNames(), listObjectTypes(), and mkdirs(). Referenced by mv(). |
|
Definition at line 180 of file AIDA_Tree.cpp. References absolutePath(), Anaphe::AIDA_Tree_native::SubTree::existsDirectory(), and m_rootDir. Referenced by copyAndAdd(), ls(), and mv(). |
|
Definition at line 152 of file AIDA_Tree.cpp. References absolutePath(), Anaphe::AIDA_Tree_native::SubTree::find(), m_objectPaths, and m_rootDir. Referenced by cp(). |
|
Definition at line 213 of file AIDA_Tree.cpp. References emptyString, m_mountPoints, and m_objectPaths. |
|
Definition at line 120 of file AIDA_Tree.cpp. References m_parentTree. |
|
Definition at line 458 of file AIDA_Tree.cpp. References absolutePath(), Anaphe::AIDA_Tree_native::SubTree::listObjectNames(), and m_rootDir. |
|
Definition at line 467 of file AIDA_Tree.cpp. References absolutePath(), Anaphe::AIDA_Tree_native::SubTree::listObjectTypes(), and m_rootDir. |
|
Definition at line 476 of file AIDA_Tree.cpp. References existsDirectory(), listObjectNames(), and listObjectTypes(). |
|
Definition at line 189 of file AIDA_Tree.cpp. References absolutePath(), m_rootDir, and Anaphe::AIDA_Tree_native::SubTree::mkdir(). |
|
Definition at line 197 of file AIDA_Tree.cpp. References absolutePath(), m_rootDir, and Anaphe::AIDA_Tree_native::SubTree::mkdirs(). Referenced by cp(). |
|
Definition at line 422 of file AIDA_Tree.cpp. References absolutePath(), m_mountPoints, m_rootDir, and Anaphe::AIDA_Tree_native::SubTree::mount(). |
|
Definition at line 261 of file AIDA_Tree.cpp. References absolutePath(), Anaphe::AIDA_Tree_native::SubTree::add(), cp(), existsDirectory(), Anaphe::AIDA_Tree_native::SubTree::findAndErase(), m_mountPoints, m_objectPaths, m_overWrite, m_rootDir, m_store, rm(), and store(). |
|
Definition at line 104 of file AIDA_Tree.cpp. References m_store. |
|
Definition at line 243 of file AIDA_Tree.cpp. References emptyString, m_mountPoints, and m_objectPaths. |
|
Definition at line 173 of file AIDA_Tree.cpp. References m_cwd. |
|
Definition at line 359 of file AIDA_Tree.cpp. References absolutePath(), m_objectPaths, m_rootDir, and Anaphe::AIDA_Tree_native::SubTree::rm(). Referenced by mv(). |
|
Definition at line 205 of file AIDA_Tree.cpp. References absolutePath(), m_rootDir, and Anaphe::AIDA_Tree_native::SubTree::rmdir(). |
|
Definition at line 352 of file AIDA_Tree.cpp. References m_overWrite. |
|
Definition at line 127 of file AIDA_Tree.cpp. References m_parentTree. |
|
Definition at line 111 of file AIDA_Tree.cpp. References absolutePath(), m_rootDir, m_store, and Anaphe::AIDA_Tree_native::SubTree::store(). Referenced by mv(). |
|
Definition at line 145 of file AIDA_Tree.cpp. References m_store. |
|
Definition at line 410 of file AIDA_Tree.cpp. References absolutePath(), m_rootDir, and Anaphe::AIDA_Tree_native::SubTree::symlink(). |
|
Definition at line 443 of file AIDA_Tree.cpp. References absolutePath(), m_mountPoints, m_rootDir, and Anaphe::AIDA_Tree_native::SubTree::unmount(). |
|
Definition at line 135 of file AIDA_Tree.cpp. References m_mountPoints, m_rootDir, and Anaphe::AIDA_Tree_native::SubTree::unmount(). |
|
Definition at line 85 of file AIDA_Tree.h. Referenced by absolutePath(), cd(), and pwd(). |
|
Definition at line 86 of file AIDA_Tree.h. Referenced by commit(), findPath(), mount(), mv(), pathInStore(), unmount(), unmountTree(), and ~AIDA_Tree(). |
|
Definition at line 87 of file AIDA_Tree.h. Referenced by add(), AIDA_Tree(), copyAndAdd(), find(), findPath(), mv(), pathInStore(), and rm(). |
|
Definition at line 84 of file AIDA_Tree.h. Referenced by add(), copyAndAdd(), mv(), and setOverwrite(). |
|
Definition at line 83 of file AIDA_Tree.h. Referenced by isMounted(), setParentTree(), and ~AIDA_Tree(). |
|
Definition at line 88 of file AIDA_Tree.h. Referenced by add(), AIDA_Tree(), copyAndAdd(), existsDirectory(), find(), listObjectNames(), listObjectTypes(), mkdir(), mkdirs(), mount(), mv(), rm(), rmdir(), store(), symlink(), unmount(), unmountTree(), and ~AIDA_Tree(). |
|
Definition at line 82 of file AIDA_Tree.h. Referenced by AIDA_Tree(), close(), commit(), copyAndAdd(), mv(), nativeStore(), store(), storeName(), and ~AIDA_Tree(). |