Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

oxp_parse_seqname.h

Go to the documentation of this file.
00001 // This is oxl/oxp/oxp_parse_seqname.h
00002 #ifndef oxp_parse_seqname_h_
00003 #define oxp_parse_seqname_h_
00004 #ifdef VCL_NEEDS_PRAGMA_INTERFACE
00005 #pragma interface
00006 #endif
00007 //:
00008 // \file
00009 // \author awf@robots.ox.ac.uk
00010 // \date   22 Jul 00
00011 
00012 #include <vcl_string.h>
00013 
00014 //: Match optional ,1:2:40 at end of filename and strip it.
00015 // Fields are -1 if not matched.
00016 class oxp_parse_seqname
00017 {
00018  public:
00019   vcl_string filename_;
00020   int start_;
00021   int step_;
00022   int end_;
00023 
00024   oxp_parse_seqname(char const* s);
00025   oxp_parse_seqname(vcl_string const& s);
00026 
00027   void parse(char const* s);
00028 };
00029 
00030 #endif // oxp_parse_seqname_h_

Generated on Thu Jan 10 14:46:06 2008 for contrib/oxl/oxp by  doxygen 1.4.4