コード例 #1
0
ファイル: index_t.hpp プロジェクト: jhellrung/icfp
 index_t operator-(char const c) const
 { return index_t(i - as_i(c), j - as_j(c)); }
コード例 #2
0
ファイル: index_t.hpp プロジェクト: jhellrung/icfp
 index_t& operator-=(char const c)
 {
     i -= as_i(c);
     j -= as_j(c);
     return *this;
 }
コード例 #3
0
ファイル: index_t.hpp プロジェクト: jhellrung/icfp
 index_t& operator+=(char const c)
 {
     i += as_i(c);
     j += as_j(c);
     return *this;
 }
コード例 #4
0
ファイル: index_t.hpp プロジェクト: jhellrung/icfp
 index_t operator+(char const c) const
 { return index_t(i + as_i(c), j + as_j(c)); }
コード例 #5
0
ファイル: CifFile.cpp プロジェクト: dprada/pymol-open-source
template <> int         cif_array::as<int         >(int row) const { return as_i(row); }