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)  

group.cpp
Go to the documentation of this file.
1 #include "group.hpp"
2 
3 #include "json.hpp"
4 
6 
8 {
9  inline namespace v1
10  {
11  group::group(std::string name)
12  : name{std::move(name)}
13  {
14  }
15 
16  auto group::operator==(const group& other) const noexcept -> bool
17  {
18  return other.name == name;
19  }
20 
21  auto group::operator!=(const group& other) const noexcept -> bool
22  {
23  return !(other == *this);
24  }
25 
26  auto group::operator<(const group& other) const noexcept -> bool
27  {
28  return name < other.name;
29  }
30 
31  auto operator<<(std::ostream& out, const group& group) -> std::ostream&
32  {
33  return out << json{{"name", group.name}}.dump();
34  }
35  } // namespace v1
36 } // namespace irods::experimental::administration
37 
irods::experimental::administration::v1::group::operator!=
auto operator!=(const group &other) const noexcept -> bool
Definition: group.cpp:21
json
nlohmann::json json
Definition: group.cpp:5
generate_iadmin_commands_for_41_to_42_upgrade.name
name
Definition: generate_iadmin_commands_for_41_to_42_upgrade.py:23
group.hpp
irods::experimental::administration::v1::group::name
std::string name
Definition: group.hpp:19
irods::experimental::administration::v1::group::operator<
auto operator<(const group &other) const noexcept -> bool
Definition: group.cpp:26
irods::experimental::filesystem::client::move
auto move(rcComm_t &_comm, const path &_old_p, const path &_new_p) -> void
Definition: filesystem.cpp:881
irods::experimental::administration
Definition: group.hpp:8
irods::experimental::administration::v1::operator<<
auto operator<<(std::ostream &out, const group &user) -> std::ostream &
Definition: group.cpp:31
irods::experimental::administration::v1::group
Definition: group.hpp:12
irods::experimental::administration::v1::group::group
group(std::string name)
Definition: group.cpp:11
irods::experimental::administration::v1::group::operator==
auto operator==(const group &other) const noexcept -> bool
Definition: group.cpp:16
manual_cleanup.out
out
Definition: manual_cleanup.py:29