ARB
Classes | Typedefs | Functions
Location.cxx File Reference
#include "Location.h"
#include <arb_stdstr.h>
#include <adGene.h>
#include <arbdb.h>
#include <cctype>
#include <string>
Include dependency graph for Location.cxx:

Go to the source code of this file.

Classes

class  SimpleLocation
 
class  JoinedLocation
 
class  ComplementLocation
 

Typedefs

typedef SmartPtr< LocationLocationPtr
 
typedef vector< LocationPtrLocationVector
 

Functions

 DEFINE_ITERATORS (LocationVector)
 
static size_t parsePosition (const string &source, char &uncertain)
 
static void parseLocationList (const string &source, size_t startPos, LocationVector &locvec)
 
static bool parseInfix (const string &str, const string &prefix, const string &postfix, string &foundInfix)
 
LocationPtr parseLocation (const string &source)
 
LocationPtr part2SimpleLocation (const GEN_position *pos, int i, bool inverseComplement)
 
LocationPtr to_Location (const GEN_position *gp)
 

Typedef Documentation

Definition at line 23 of file Location.cxx.

typedef vector<LocationPtr> LocationVector

Definition at line 24 of file Location.cxx.

Function Documentation

DEFINE_ITERATORS ( LocationVector  )
static size_t parsePosition ( const string source,
char uncertain 
)
static

Definition at line 171 of file Location.cxx.

References s, and string().

Referenced by parseLocation().

static void parseLocationList ( const string source,
size_t  startPos,
LocationVector locvec 
)
static

Definition at line 198 of file Location.cxx.

References arb_assert, GBS_global_string(), and parseLocation().

Referenced by parseLocation().

static bool parseInfix ( const string str,
const string prefix,
const string postfix,
string foundInfix 
)
static

Definition at line 228 of file Location.cxx.

References beginsWith(), and endsWith().

Referenced by parseLocation().

LocationPtr parseLocation ( const string source)
LocationPtr part2SimpleLocation ( const GEN_position pos,
int  i,
bool  inverseComplement 
)
inline
LocationPtr to_Location ( const GEN_position gp)