This class is a wrapper around the DataPoint class.
More...
#include <arc/data/DataHandle.h>
This class is a wrapper around the DataPoint class.
It simplifies the construction, use and destruction of DataPoint objects and should be used instead of DataPoint classes directly. The appropriate DataPoint subclass is created automatically and stored internally in DataHandle. A DataHandle instance can be thought of as a pointer to the DataPoint instance and the DataPoint can be accessed through the usual dereference operators. A DataHandle cannot be copied.
This class is the main way to access remote data items and obtain information about them. To simply copy a whole file DataMover::Transfer() can be used. For partial file copy see the examples in ARC data library (libarcdata).
Arc::DataHandle::DataHandle |
( |
const URL & |
url, |
|
|
const UserConfig & |
usercfg |
|
) |
| |
|
inline |
Arc::DataHandle::~DataHandle |
( |
| ) |
|
|
inline |
Returns a pointer to new DataPoint object corresponding to URL.
This static method is mostly for bindings to other languages and if available scope of obtained DataPoint is undefined.
Arc::DataHandle::operator bool |
( |
void |
| ) |
const |
|
inline |
bool Arc::DataHandle::operator! |
( |
void |
| ) |
const |
|
inline |
Returns true if the DataHandle is not valid.
- Python interface deviation
- Method is unavailable in Python interface
- Java interface deviation
- Method is unavailable in Java interface
DataPoint& Arc::DataHandle::operator* |
( |
void |
| ) |
|
|
inline |
Returns a reference to a DataPoint object.
- Java interface deviation
- Method is unavailable in Java interface
const DataPoint& Arc::DataHandle::operator* |
( |
void |
| ) |
const |
|
inline |
Returns a const reference to a DataPoint object.
DataPoint* Arc::DataHandle::operator-> |
( |
void |
| ) |
|
|
inline |
Returns a pointer to a DataPoint object.
- Python interface deviation
- Method is unavailable in Python interface
- Java interface deviation
- Method is unavailable in Java interface
const DataPoint* Arc::DataHandle::operator-> |
( |
void |
| ) |
const |
|
inline |
Returns a const pointer to a DataPoint object.
The documentation for this class was generated from the following file: