List of identifiers.
More...
List of identifiers.
Definition at line 133 of file JSydney.cc.
JACOUSTICS::JSydney::ids_t::ids_t |
( |
| ) |
|
|
inline |
JACOUSTICS::JSydney::ids_t::ids_t |
( |
const std::vector< int > & |
buffer | ) |
|
|
inline |
Copy constructor.
- Parameters
-
buffer | list of identifiers |
Definition at line 148 of file JSydney.cc.
JACOUSTICS::JSydney::ids_t::ids_t |
( |
const ids_t & |
A, |
|
|
const ids_t & |
B |
|
) |
| |
|
inline |
Difference constructor.
Make list of all elements in A that are not in B.
- Parameters
-
A | list of identifiers |
B | list of identifiers |
Definition at line 160 of file JSydney.cc.
163 std::set_difference(
A.begin(),
A.end(), B.begin(), B.end(), std::inserter(*
this, this->begin()));
source $JPP_DIR setenv csh $JPP_DIR &dev null eval JShellParser o a A
void JACOUSTICS::JSydney::ids_t::fix |
( |
const ids_t & |
B | ) |
|
|
inline |
Fix.
Keep list of elements that are not in B.
- Parameters
-
Definition at line 173 of file JSydney.cc.
179 std::set_difference(A.begin(), A.end(), B.begin(), B.end(), std::inserter(*
this, this->begin()));
ids_t()
Default constructor.
source $JPP_DIR setenv csh $JPP_DIR &dev null eval JShellParser o a A
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 190 of file JSydney.cc.
192 for (
int id;
in >> id; ) {
then fatal Wrong number of arguments fi set_variable DETECTOR $argv[1] set_variable INPUT_FILE $argv[2] eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY JAcoustics sh $DETECTOR_ID source JAcousticsToolkit sh CHECK_EXIT_CODE typeset A EMITTERS get_tripods $WORKDIR tripod txt EMITTERS get_transmitters $WORKDIR transmitter txt EMITTERS for EMITTER in
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 211 of file JSydney.cc.
213 for (
const int id :
object) {
The documentation for this struct was generated from the following file: