ARB
|
Go to the source code of this file.
Classes | |
class | Noncopyable |
class | RefPtr< T > |
class | isBelow< T > |
class | isAbove< T > |
class | LocallyModify< T > |
struct | different_types< T, U > |
struct | disallow_type< T, U > |
class | StrictlyAliased_BasePtrRef< DERIVED, BASE > |
Macros | |
#define | INPLACE_RECONSTRUCT(type, this) |
#define | INPLACE_COPY_RECONSTRUCT(type, this, other) |
#define | DECLARE_ASSIGNMENT_OPERATOR(T) |
#define | DEFINE_NAMED_ITERATORS(type, name) |
#define | DEFINE_ITERATORS(type) DEFINE_NAMED_ITERATORS(type,type) |
#define | CASTSIG(sig, cb) ((sig)((void*)(cb))) |
Functions | |
template<typename T > | |
CONSTEXPR_INLINE bool | is_nan (const T &n) |
template<typename T > | |
CONSTEXPR_INLINE bool | is_nan_or_inf (const T &n) |
template<typename T > | |
CONSTEXPR_INLINE bool | is_normal (const T &n) |
template<typename T > | |
CONSTEXPR_INLINE bool | is_inf (const T &n) |
CONSTEXPR_INLINE int | double_diff_2_cmp (const double d) |
CONSTEXPR_INLINE int | double_cmp (const double d1, const double d2) |
CONSTEXPR_INLINE int | float_diff_2_cmp (const float f) |
CONSTEXPR_INLINE int | float_cmp (const float f1, const float f2) |
CONSTEXPR_INLINE int | long_diff_2_cmp (const long L) |
CONSTEXPR_INLINE int | long_cmp (const long L1, const long L2) |
template<typename NUM > | |
CONSTEXPR_INLINE int | calc_digits (NUM val) |
template<typename NUM > | |
CONSTEXPR_INLINE int | calc_signed_digits (NUM val) |
#define INPLACE_RECONSTRUCT | ( | type, | |
this | |||
) |
Definition at line 49 of file arbtools.h.
Referenced by FINAL_TYPE< SEQTYPE >::reinit(), and RefContainer< GenbankRef >::reinit_refs().
#define INPLACE_COPY_RECONSTRUCT | ( | type, | |
this, | |||
other | |||
) |
Definition at line 55 of file arbtools.h.
#define DECLARE_ASSIGNMENT_OPERATOR | ( | T | ) |
Definition at line 61 of file arbtools.h.
#define DEFINE_NAMED_ITERATORS | ( | type, | |
name | |||
) |
Definition at line 112 of file arbtools.h.
#define DEFINE_ITERATORS | ( | type | ) | DEFINE_NAMED_ITERATORS(type,type) |
Definition at line 118 of file arbtools.h.
Definition at line 123 of file arbtools.h.
Referenced by awt_create_collect_buttons(), awt_create_order_buttons(), flush_taxonomy_cb(), GBP_charPtr_2_GB_alignment_type(), GBP_charPtr_2_GB_CASE(), GBP_charPtr_2_GB_SEARCH_TYPE(), GBP_charPtr_2_GB_TYPES(), GBP_charPtr_2_GB_UNDO_TYPE(), get_cached_taxonomy(), and AW_cb::run_callbacks().
CONSTEXPR_INLINE bool is_nan | ( | const T & | n | ) |
Definition at line 177 of file arbtools.h.
Referenced by is_inf(), is_nan_or_inf(), ValueTuple::make(), mix_floats(), LazyFloat< double >::needs_eval(), FINAL_TYPE< SEQTYPE >::PlanarTuple(), FINAL_TYPE< SEQTYPE >::range_offset(), FINAL_TYPE< SEQTYPE >::SpatialTuple(), and AW::Vector::valid().
CONSTEXPR_INLINE bool is_nan_or_inf | ( | const T & | n | ) |
Definition at line 178 of file arbtools.h.
References is_nan().
Referenced by AWT_graphic_tree::handle_command(), is_inf(), is_normal(), FINAL_TYPE< SEQTYPE >::LinearTuple(), Scaler::Scaler(), TreeNode::set_branchlength(), AWT_graphic_tree::show_ruler(), AW::Position::valid(), and AW::Angle::valid().
CONSTEXPR_INLINE bool is_normal | ( | const T & | n | ) |
Definition at line 179 of file arbtools.h.
References is_nan_or_inf().
Referenced by ARB_edge::virtually_distribute_length().
CONSTEXPR_INLINE bool is_inf | ( | const T & | n | ) |
Definition at line 180 of file arbtools.h.
References is_nan(), and is_nan_or_inf().
Referenced by FieldReader::calc_value(), FINAL_TYPE< SEQTYPE >::PlanarTuple(), and FINAL_TYPE< SEQTYPE >::SpatialTuple().
CONSTEXPR_INLINE int double_diff_2_cmp | ( | const double | d | ) |
Definition at line 182 of file arbtools.h.
Referenced by double_cmp().
CONSTEXPR_INLINE int double_cmp | ( | const double | d1, |
const double | d2 | ||
) |
returns <0 if d1<d2, >0 if d1>d2 (i.e. this function behaves like strcmp)
Definition at line 185 of file arbtools.h.
References double_diff_2_cmp().
Referenced by HitCounter::cmp_rel(), TreeRelativePosition::compare(), GBT_TREE_order(), PART::insertionOrder_cmp(), numeric_string_cmp(), compare_by_criteria::operator()(), ptnd_compare_quality(), and RB_INFO_order().
CONSTEXPR_INLINE int float_diff_2_cmp | ( | const float | f | ) |
Definition at line 189 of file arbtools.h.
Referenced by float_cmp().
CONSTEXPR_INLINE int float_cmp | ( | const float | f1, |
const float | f2 | ||
) |
returns <0 if f1<f2, >0 if f1>f2 (i.e. this function behaves like strcmp)
Definition at line 192 of file arbtools.h.
References float_diff_2_cmp().
Referenced by compare_hits().
CONSTEXPR_INLINE int long_diff_2_cmp | ( | const long | L | ) |
Definition at line 196 of file arbtools.h.
Referenced by long_cmp().
CONSTEXPR_INLINE int long_cmp | ( | const long | L1, |
const long | L2 | ||
) |
returns <0 if L1<L2, >0 if L1>L2 (i.e. this function behaves like strcmp)
Definition at line 199 of file arbtools.h.
References long_diff_2_cmp().
Referenced by compare_hits().
CONSTEXPR_INLINE int calc_digits | ( | NUM | val | ) |
calculate output length of val (w/o sign)
Definition at line 205 of file arbtools.h.
Referenced by calc_signed_digits(), AWT_configuration_selection::fill(), format(), DisplayFormat::get_header(), and LongBranchMarker::get_report().
CONSTEXPR_INLINE int calc_signed_digits | ( | NUM | val | ) |
calculate output length of val (with sign)
Definition at line 210 of file arbtools.h.
References calc_digits().