NCBI C++ ToolKit
Public Member Functions | Private Attributes | List of all members
CNetStorageObject_FileTrack_Path Class Reference

Search Toolkit Book for CNetStorageObject_FileTrack_Path

Represents file path of underlying FileTrack object. More...

#include <connect/services/netstorage_ft.hpp>

Public Member Functions

 CNetStorageObject_FileTrack_Path (CNetStorageObject object)
 Locks file path if object resides in FileTrack. More...
 
 operator string () const
 Get file path. More...
 

Private Attributes

const string m_Path
 

Detailed Description

Represents file path of underlying FileTrack object.

File path is locked in constructor and held for up to 20 minues (FT default).

Definition at line 46 of file netstorage_ft.hpp.

Constructor & Destructor Documentation

◆ CNetStorageObject_FileTrack_Path()

CNetStorageObject_FileTrack_Path::CNetStorageObject_FileTrack_Path ( CNetStorageObject  object)

Locks file path if object resides in FileTrack.

Exceptions
CNetStorageExceptionThrows an exception if object does not reside in FileTrack,

Definition at line 433 of file netstorage.cpp.

Member Function Documentation

◆ operator string()

CNetStorageObject_FileTrack_Path::operator string ( ) const
inline

Get file path.

Definition at line 57 of file netstorage_ft.hpp.

References m_Path.

Member Data Documentation

◆ m_Path

const string CNetStorageObject_FileTrack_Path::m_Path
private

Definition at line 60 of file netstorage_ft.hpp.

Referenced by operator string().


The documentation for this class was generated from the following files:
Modified on Sat May 25 14:21:21 2024 by modify_doxy.py rev. 669887