Changeset 1461
- Timestamp:
- 07/12/05 12:34:25 (3 years ago)
- Files:
-
- hydranode/include/hn/partdata.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
hydranode/include/hn/partdata.h
r1456 r1461 229 229 bool isComplete(uint64_t begin, uint64_t end) const; 230 230 //!@} 231 231 232 /** 232 233 * \name Generic accessors … … 237 238 void setMetaData(MetaData *md); 238 239 void setDestination(const boost::filesystem::path &p) { m_dest=p; } 240 239 241 uint64_t getSize() const { return m_size; } 240 242 boost::filesystem::path getLocation() const { return m_loc; } 241 243 boost::filesystem::path getDestination() const { return m_dest; } 244 std::string getName() const { return m_dest.leaf(); } 245 242 246 uint64_t getCompleted() const; //!< Returns number of bytes completed 243 //! Returns number of full sources244 247 uint32_t getFullSourceCnt() const { return m_fullSourceCnt; } 248 245 249 std::vector<bool> getPartStatus(uint32_t chunkSize) const { 246 250 CHECK_THROW(m_partStatus.find(chunkSize) != m_partStatus.end());
