List of object identifiers.
More...
List of object identifiers.
Definition at line 141 of file JSydney.cc.
◆ ids_t() [1/3]
JACOUSTICS::JSydney::ids_t::ids_t |
( |
| ) |
|
|
inline |
◆ ids_t() [2/3]
JACOUSTICS::JSydney::ids_t::ids_t |
( |
const std::vector< int > & |
buffer | ) |
|
|
inline |
Copy constructor.
- Parameters
-
buffer | list of identifiers |
Definition at line 156 of file JSydney.cc.
◆ ids_t() [3/3]
JACOUSTICS::JSydney::ids_t::ids_t |
( |
const ids_t & |
A, |
|
|
const ids_t & |
B |
|
) |
| |
|
inline |
Difference constructor.
Make list of all object identifiers in A that are not in B.
- Parameters
-
A | list of identifiers |
B | list of identifiers |
Definition at line 168 of file JSydney.cc.
171 std::set_difference(A.begin(), A.end(), B.begin(), B.end(), std::inserter(*
this, this->begin()));
◆ fix()
void JACOUSTICS::JSydney::ids_t::fix |
( |
const ids_t & |
B | ) |
|
|
inline |
Fix.
Keep list of object identifiers that are not in B.
- Parameters
-
Definition at line 181 of file JSydney.cc.
187 std::set_difference(A.begin(), A.end(), B.begin(), B.end(), std::inserter(*
this, this->begin()));
ids_t()
Default constructor.
◆ operator>>
std::istream& operator>> |
( |
std::istream & |
in, |
|
|
ids_t & |
object |
|
) |
| |
|
friend |
Read identifiers from input stream.
- Parameters
-
in | input stream |
object | identifiers |
- Returns
- input stream
Definition at line 198 of file JSydney.cc.
200 for (
int id; in >> id; ) {
◆ operator<<
std::ostream& operator<< |
( |
std::ostream & |
out, |
|
|
const ids_t & |
object |
|
) |
| |
|
friend |
Write identifiers to output stream.
- Parameters
-
out | output stream |
object | identifiers |
- Returns
- output stream
Definition at line 219 of file JSydney.cc.
221 for (
const int id :
object) {
The documentation for this struct was generated from the following file: