irods  4.2.8
About: iRODS (the integrated Rule Oriented Data System) is a distributed data-management system for creating data grids, digital libraries, persistent archives, and real-time data systems.
  Fossies Dox: irods-4.2.8.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

irods_physical_object.hpp
Go to the documentation of this file.
1 #ifndef __IRODS_PHYSICAL_OBJECT_HPP__
2 #define __IRODS_PHYSICAL_OBJECT_HPP__
3 
4 // =-=-=-=-=-=-=-
5 // stl includes
6 #include <string>
7 #include "rodsType.h"
8 namespace irods {
9 
11  public:
12  // =-=-=-=-=-=-=-
13  // constructors
16 
17  // =-=-=-=-=-=-=-
18  // destructor
20 
21  // =-=-=-=-=-=-=-
22  // operators
24 
25  // =-=-=-=-=-=-=-
26  // accessors
27  inline int is_dirty() const {
28  return is_dirty_;
29  }
30  inline int repl_num() const {
31  return repl_num_;
32  }
33  inline long map_id() const {
34  return map_id_;
35  }
36  inline long size() const {
37  return size_;
38  }
39  inline long id() const {
40  return id_;
41  }
42  inline long coll_id() const {
43  return coll_id_;
44  }
45  inline std::string name() const {
46  return name_;
47  }
48  inline std::string version() const {
49  return version_;
50  }
51  inline std::string type_name() const {
52  return type_name_;
53  }
54  inline std::string resc_name() const {
55  return resc_name_;
56  }
57  inline std::string path() const {
58  return path_;
59  }
60  inline std::string owner_name() const {
61  return owner_name_;
62  }
63  inline std::string owner_zone() const {
64  return owner_zone_;
65  }
66  inline std::string status() const {
67  return status_;
68  }
69  inline std::string checksum() const {
70  return checksum_;
71  }
72  inline std::string expiry_ts() const {
73  return expiry_ts_;
74  }
75  inline std::string mode() const {
76  return mode_;
77  }
78  inline std::string r_comment() const {
79  return r_comment_;
80  }
81  inline std::string create_ts() const {
82  return create_ts_;
83  }
84  inline std::string modify_ts() const {
85  return modify_ts_;
86  }
87  inline std::string resc_hier() const {
88  return resc_hier_;
89  }
90  inline rodsLong_t resc_id() const {
91  return resc_id_;
92  }
93 
94  // =-=-=-=-=-=-=-
95  // mutators
96  inline void is_dirty( int _v ) {
97  is_dirty_ = _v;
98  }
99  inline void repl_num( int _v ) {
100  repl_num_ = _v;
101  }
102  inline void map_id( int _v ) {
103  map_id_ = _v;
104  }
105  inline void size( int _v ) {
106  size_ = _v;
107  }
108  inline void id( int _v ) {
109  id_ = _v;
110  }
111  inline void coll_id( int _v ) {
112  coll_id_ = _v;
113  }
114  inline void name( const std::string& _v ) {
115  name_ = _v;
116  }
117  inline void version( const std::string& _v ) {
118  version_ = _v;
119  }
120  inline void type_name( const std::string& _v ) {
121  type_name_ = _v;
122  }
123  inline void resc_name( const std::string& _v ) {
124  resc_name_ = _v;
125  }
126  inline void path( const std::string& _v ) {
127  path_ = _v;
128  }
129  inline void owner_name( const std::string& _v ) {
130  owner_name_ = _v;
131  }
132  inline void owner_zone( const std::string& _v ) {
133  owner_zone_ = _v;
134  }
135  inline void status( const std::string& _v ) {
136  status_ = _v;
137  }
138  inline void checksum( const std::string& _v ) {
139  checksum_ = _v;
140  }
141  inline void expiry_ts( const std::string& _v ) {
142  expiry_ts_ = _v;
143  }
144  inline void mode( const std::string& _v ) {
145  mode_ = _v;
146  }
147  inline void r_comment( const std::string& _v ) {
148  r_comment_ = _v;
149  }
150  inline void create_ts( const std::string& _v ) {
151  create_ts_ = _v;
152  }
153  inline void modify_ts( const std::string& _v ) {
154  modify_ts_ = _v;
155  }
156  inline void resc_hier( const std::string& _v ) {
157  resc_hier_ = _v;
158  }
159  inline void resc_id( rodsLong_t _id ) {
160  resc_id_ = _id;
161  }
162 
163  private:
166  long map_id_;
167  long size_;
168  long id_;
169  long coll_id_;
170  std::string name_;
171  std::string version_;
172  std::string type_name_;
173  std::string resc_name_;
174  std::string path_;
175  std::string owner_name_;
176  std::string owner_zone_;
177  std::string status_;
178  std::string checksum_;
179  std::string expiry_ts_;
180  std::string mode_;
181  std::string r_comment_;
182  std::string create_ts_;
183  std::string modify_ts_;
184  std::string resc_hier_;
186 
187  }; // physical_object
188 
189 }; // namespace irods
190 
191 #endif // __IRODS_PHYSICAL_OBJECT_HPP__
192 
193 
194 
irods::physical_object::mode
std::string mode() const
Definition: irods_physical_object.hpp:75
irods::physical_object::resc_name_
std::string resc_name_
Definition: irods_physical_object.hpp:173
irods::physical_object::id_
long id_
Definition: irods_physical_object.hpp:168
irods::physical_object::type_name
std::string type_name() const
Definition: irods_physical_object.hpp:51
irods::physical_object::size
long size() const
Definition: irods_physical_object.hpp:36
irods::physical_object::path
std::string path() const
Definition: irods_physical_object.hpp:57
irods::physical_object::owner_zone_
std::string owner_zone_
Definition: irods_physical_object.hpp:176
irods::physical_object::id
void id(int _v)
Definition: irods_physical_object.hpp:108
irods::physical_object::type_name
void type_name(const std::string &_v)
Definition: irods_physical_object.hpp:120
irods::physical_object::r_comment_
std::string r_comment_
Definition: irods_physical_object.hpp:181
irods::physical_object::resc_id
rodsLong_t resc_id() const
Definition: irods_physical_object.hpp:90
irods::physical_object::map_id_
long map_id_
Definition: irods_physical_object.hpp:166
irods::physical_object::checksum
std::string checksum() const
Definition: irods_physical_object.hpp:69
irods::physical_object::resc_id_
rodsLong_t resc_id_
Definition: irods_physical_object.hpp:185
irods::physical_object::resc_hier
void resc_hier(const std::string &_v)
Definition: irods_physical_object.hpp:156
irods::physical_object::resc_hier_
std::string resc_hier_
Definition: irods_physical_object.hpp:184
irods::physical_object::resc_id
void resc_id(rodsLong_t _id)
Definition: irods_physical_object.hpp:159
irods::physical_object::name
std::string name() const
Definition: irods_physical_object.hpp:45
irods::physical_object::id
long id() const
Definition: irods_physical_object.hpp:39
irods::physical_object::owner_name
std::string owner_name() const
Definition: irods_physical_object.hpp:60
irods::physical_object::modify_ts
void modify_ts(const std::string &_v)
Definition: irods_physical_object.hpp:153
irods::physical_object::owner_name_
std::string owner_name_
Definition: irods_physical_object.hpp:175
irods::physical_object::create_ts
std::string create_ts() const
Definition: irods_physical_object.hpp:81
irods::physical_object::version
void version(const std::string &_v)
Definition: irods_physical_object.hpp:117
irods::physical_object::path_
std::string path_
Definition: irods_physical_object.hpp:174
irods::physical_object::repl_num
void repl_num(int _v)
Definition: irods_physical_object.hpp:99
irods::physical_object::map_id
void map_id(int _v)
Definition: irods_physical_object.hpp:102
irods::physical_object::is_dirty
void is_dirty(int _v)
Definition: irods_physical_object.hpp:96
irods::physical_object::is_dirty
int is_dirty() const
Definition: irods_physical_object.hpp:27
irods::physical_object::owner_zone
void owner_zone(const std::string &_v)
Definition: irods_physical_object.hpp:132
irods::physical_object::expiry_ts
std::string expiry_ts() const
Definition: irods_physical_object.hpp:72
irods::physical_object::operator=
physical_object & operator=(const physical_object &)
Definition: irods_physical_object.cpp:51
irods::physical_object::version_
std::string version_
Definition: irods_physical_object.hpp:171
irods::physical_object::name
void name(const std::string &_v)
Definition: irods_physical_object.hpp:114
irods::physical_object::size
void size(int _v)
Definition: irods_physical_object.hpp:105
irods::physical_object::r_comment
std::string r_comment() const
Definition: irods_physical_object.hpp:78
irods::physical_object::name_
std::string name_
Definition: irods_physical_object.hpp:170
irods::physical_object::repl_num
int repl_num() const
Definition: irods_physical_object.hpp:30
irods::physical_object::coll_id_
long coll_id_
Definition: irods_physical_object.hpp:169
rodsType.h
irods::physical_object::status_
std::string status_
Definition: irods_physical_object.hpp:177
irods
Definition: apiHandler.hpp:35
irods::physical_object::owner_zone
std::string owner_zone() const
Definition: irods_physical_object.hpp:63
irods::physical_object::size_
long size_
Definition: irods_physical_object.hpp:167
irods::physical_object::coll_id
void coll_id(int _v)
Definition: irods_physical_object.hpp:111
irods::physical_object::checksum_
std::string checksum_
Definition: irods_physical_object.hpp:178
irods::physical_object::map_id
long map_id() const
Definition: irods_physical_object.hpp:33
irods::physical_object
Definition: irods_physical_object.hpp:10
irods::physical_object::~physical_object
~physical_object()
Definition: irods_physical_object.cpp:46
irods::physical_object::r_comment
void r_comment(const std::string &_v)
Definition: irods_physical_object.hpp:147
irods::physical_object::status
std::string status() const
Definition: irods_physical_object.hpp:66
irods::physical_object::mode_
std::string mode_
Definition: irods_physical_object.hpp:180
irods::physical_object::create_ts_
std::string create_ts_
Definition: irods_physical_object.hpp:182
irods::physical_object::repl_num_
int repl_num_
Definition: irods_physical_object.hpp:165
irods::physical_object::modify_ts
std::string modify_ts() const
Definition: irods_physical_object.hpp:84
irods::physical_object::mode
void mode(const std::string &_v)
Definition: irods_physical_object.hpp:144
irods::physical_object::version
std::string version() const
Definition: irods_physical_object.hpp:48
irods::physical_object::physical_object
physical_object()
Definition: irods_physical_object.cpp:9
irods::physical_object::resc_name
std::string resc_name() const
Definition: irods_physical_object.hpp:54
irods::physical_object::expiry_ts
void expiry_ts(const std::string &_v)
Definition: irods_physical_object.hpp:141
irods::physical_object::resc_hier
std::string resc_hier() const
Definition: irods_physical_object.hpp:87
irods::physical_object::status
void status(const std::string &_v)
Definition: irods_physical_object.hpp:135
irods::physical_object::resc_name
void resc_name(const std::string &_v)
Definition: irods_physical_object.hpp:123
irods::physical_object::owner_name
void owner_name(const std::string &_v)
Definition: irods_physical_object.hpp:129
irods::physical_object::expiry_ts_
std::string expiry_ts_
Definition: irods_physical_object.hpp:179
irods::physical_object::checksum
void checksum(const std::string &_v)
Definition: irods_physical_object.hpp:138
irods::physical_object::type_name_
std::string type_name_
Definition: irods_physical_object.hpp:172
irods::physical_object::modify_ts_
std::string modify_ts_
Definition: irods_physical_object.hpp:183
irods::physical_object::path
void path(const std::string &_v)
Definition: irods_physical_object.hpp:126
irods::physical_object::coll_id
long coll_id() const
Definition: irods_physical_object.hpp:42
irods::physical_object::is_dirty_
int is_dirty_
Definition: irods_physical_object.hpp:164
rodsLong_t
long long rodsLong_t
Definition: rodsType.h:32
irods::physical_object::create_ts
void create_ts(const std::string &_v)
Definition: irods_physical_object.hpp:150