LocARNA-1.8.11
Public Member Functions | List of all members
LocARNA::EdgeEnd Class Reference

end of an alignment edge More...

#include <alignment.hh>

Public Member Functions

 EdgeEnd ()
 construct as invalid end
 
 EdgeEnd (pos_type end)
 construct as position More...
 
 EdgeEnd (Gap end)
 construct as gap More...
 
bool is_gap () const
 gap test More...
 
bool is_pos () const
 is position test More...
 
Gap gap () const
 
 operator pos_type () const
 

Detailed Description

end of an alignment edge

asserts correct type of an edge end

Constructor & Destructor Documentation

LocARNA::EdgeEnd::EdgeEnd ( pos_type  end)
inline

construct as position

Note
used for implicit type cast
LocARNA::EdgeEnd::EdgeEnd ( Gap  end)
inline

construct as gap

Note
used for implicit type cast

Member Function Documentation

Gap LocARNA::EdgeEnd::gap ( ) const
inline

edge end as gap

Returns
gap enum
bool LocARNA::EdgeEnd::is_gap ( ) const
inline

gap test

Returns
whether end is gap
bool LocARNA::EdgeEnd::is_pos ( ) const
inline

is position test

Returns
whether end is position
LocARNA::EdgeEnd::operator pos_type ( ) const
inline

edge end as position

Returns
position

The documentation for this class was generated from the following file: