/usr/include/odil/pdu/SOPClassCommonExtendedNegotiation.h is in libodil-dev 0.8.0-4build1.
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 | /*************************************************************************
* odil - Copyright (C) Universite de Strasbourg
* Distributed under the terms of the CeCILL-B license, as published by
* the CEA-CNRS-INRIA. Refer to the LICENSE file or to
* http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
* for details.
************************************************************************/
#ifndef _4182d886_9654_4ec2_8cd6_7f334f290e56
#define _4182d886_9654_4ec2_8cd6_7f334f290e56
#include <istream>
#include <string>
#include <vector>
#include "odil/odil.h"
#include "odil/pdu/Object.h"
namespace odil
{
namespace pdu
{
/// @brief SOP Class Common Extended Negotiation sub-item (PS 3.7, D.3.3.6).
class ODIL_API SOPClassCommonExtendedNegotiation: public Object
{
public:
/// @brief Item type.
static uint8_t const type=0x57;
/// @brief Constructor.
SOPClassCommonExtendedNegotiation(
std::string const & sop_class_uid,
std::string const & service_class_uid="",
std::vector<std::string> const &
related_general_sop_class_uids=std::vector<std::string>());
/// @brief Read a SOP Class Common Extended Negotiation from a stream.
SOPClassCommonExtendedNegotiation(std::istream & stream);
/// @brief Comparison.
bool operator==(SOPClassCommonExtendedNegotiation const & other) const;
/// @brief Return the SOP Class UID.
std::string const & get_sop_class_uid() const;
/// @brief Set the SOP Class UID.
void set_sop_class_uid(std::string const & value);
/// @brief Return the Service Class UID.
std::string const & get_service_class_uid() const;
/// @brief Set the Service Class UID (default to "").
void set_service_class_uid(std::string const & value);
/// @brief Return the Related General SOP Class UIDs.
std::vector<std::string> get_related_general_sop_class_uids() const;
/// @brief Set the Related General SOP Class UIDs (default to empty).
void set_related_general_sop_class_uids(
std::vector<std::string> const & value);
};
}
}
#endif // _4182d886_9654_4ec2_8cd6_7f334f290e56
|