/usr/include/pbcopper/data/RSMovieName.h is in libpbcopper-dev 0.0.1+20161202-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 | #ifndef PBCOPPER_DATA_RSMOVIENAME_H
#define PBCOPPER_DATA_RSMOVIENAME_H
#include "pbcopper/Config.h"
#include <boost/utility/string_ref.hpp>
#include <iosfwd>
#include <memory>
#include <string>
namespace PacBio {
namespace Data {
/// \brief The RSMovieName class provides methods for working with PacBio RSII
/// movie names.
///
class RSMovieName
{
public:
/// \name Constructors & Related Methods
/// \{
// create RSMovieName from string
explicit RSMovieName(const std::string& name);
explicit RSMovieName(std::string&& name);
// create MovieName from name parts
RSMovieName(const std::string& runStartTime,
const std::string& instrumentSerialNumber,
const std::string& smrtCellBarcode,
const std::string& setNumber,
const std::string& partNumber);
RSMovieName(void);
RSMovieName(const RSMovieName& other);
RSMovieName(RSMovieName&& other) noexcept;
RSMovieName& operator=(const RSMovieName& other);
RSMovieName& operator=(RSMovieName&& other) noexcept;
~RSMovieName(void);
/// \}
public:
/// \name Name Parts
/// \{
boost::string_ref InstrumentSerialNumber(void) const;
boost::string_ref PartNumber(void) const;
boost::string_ref RunStartTime(void) const;
boost::string_ref SetNumber(void) const;
boost::string_ref SMRTCellBarcode(void) const;
/// \}
public:
/// \name Additional Methods & Operators
/// \{
bool IsReagentExpired(void) const;
std::string ToStdString(void) const;
/// \}
private:
std::string movieName_;
struct PartsCache;
mutable std::unique_ptr<PartsCache> partsCache_;
private:
void UpdatePartsCache(void) const;
};
/// \name Related Non-members
/// \{
// comparison operators
inline bool operator==(const RSMovieName& lhs, const RSMovieName& rhs);
inline bool operator!=(const RSMovieName& lhs, const RSMovieName& rhs);
inline bool operator<(const RSMovieName& lhs, const RSMovieName& rhs);
// I/O
inline std::ostream& operator<<(std::ostream& os, const RSMovieName& movieName);
inline std::istream& operator>>(std::istream& is, RSMovieName& movieName);
/// \}
} // namespace Data
} // namespace PacBio
#include "internal/RSMovieName-inl.h"
#endif // PBCOPPER_DATA_RSMOVIENAME_H
|