SheafSystem
0.0.0.0
binary_index.cc
1
2
//
3
// Copyright (c) 2014 Limit Point Systems, Inc.
4
//
5
// Licensed under the Apache License, Version 2.0 (the "License");
6
// you may not use this file except in compliance with the License.
7
// You may obtain a copy of the License at
8
//
9
// http://www.apache.org/licenses/LICENSE-2.0
10
//
11
// Unless required by applicable law or agreed to in writing, software
12
// distributed under the License is distributed on an "AS IS" BASIS,
13
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
// See the License for the specific language governing permissions and
15
// limitations under the License.
16
//
17
18
19
20
// Implementation for class binary_index
21
22
#include "SheafSystem/binary_index.h"
23
#include "SheafSystem/assert_contract.h"
24
#include "SheafSystem/std_iostream.h"
25
26
27
// Member functions all inlined in header file.
28
29
// ===========================================================
30
// NON-MEMBER FUNCTIONS
31
// ===========================================================
32
33
std::ostream&
34
fiber_bundle::
35
operator<<
(std::ostream& xos,
const
fiber_bundle::binary_index
& xbi)
36
{
37
xos << xbi.
i
<<
","
<< xbi.
j
;
38
return
xos;
39
}
40
fiber_bundle::binary_index
A pair of indices (i,j).
Definition:
binary_index.h:44
fiber_bundle::binary_index::i
unary_index i
The first index.
Definition:
binary_index.h:51
fiber_bundle::binary_index::j
unary_index j
The second index.
Definition:
binary_index.h:56
fiber_bundle::operator<<
SHEAF_DLL_SPEC std::ostream & operator<<(std::ostream &os, const binary_index &xbi)
Insert binary_index& xbi into ostream& os.
Definition:
binary_index.cc:35
fiber_bundles
base_spaces
binary_index.cc
Generated on Sun Jul 9 2017 14:26:55 for SheafSystem by
1.8.13