proj home

Files   Classes   Functions   Hierarchy  

tokenizerfind.cpp

Go to the documentation of this file.
00001 #include <tokenizerfind.h>
00002 
00003 boolc tokenizerfind::reset()
00004 { 
00005   return ref.find(index,atom); 
00006 }
00007 
00008 boolc tokenizerfind::operator !()
00009 { 
00010   return !ref; 
00011 }
00012 
00013 void tokenizerfind::operator ++ ()
00014 { 
00015   ++index; 
00016   ref.find(index,atom,index); 
00017 }
00018 
00019 stringc & tokenizerfind::operator() () const 
00020 { 
00021   return ref(); 
00022 }
00023 
00024 string & tokenizerfind::operator * ()
00025 { 
00026   return *ref; 
00027 }
00028 
00029 
00030 
00031 
00032 
00033 boolc tokenizerfind::find(stringc& atom1,stringc& atom2,stringc& atom3,stringc& atom4,stringc& atom5,stringc& atom6)
00034 {
00035   if (find(atom1)==false)
00036     return false;
00037 
00038   index += atom1.length()-1;
00039   return find(atom2,atom3,atom4,atom5,atom6);
00040 }
00041 
00042 boolc tokenizerfind::find(stringc& atom1,stringc& atom2,stringc& atom3,stringc& atom4,stringc& atom5)
00043 {
00044   if (find(atom1)==false)
00045     return false;
00046 
00047   index += atom1.length()-1;
00048   return find(atom2,atom3,atom4,atom5);
00049 }
00050 
00051 boolc tokenizerfind::find(stringc& atom1,stringc& atom2,stringc& atom3,stringc& atom4)
00052 {
00053   if (find(atom1)==false)
00054     return false;
00055 
00056   index += atom1.length()-1;
00057   return find(atom2,atom3,atom4);
00058 }
00059 
00060 boolc tokenizerfind::find(stringc& atom1,stringc& atom2,stringc& atom3)
00061 {
00062   if (find(atom1)==false)
00063     return false;
00064 
00065   index += atom1.length()-1;
00066   return find(atom2,atom3);
00067 }
00068 
00069 boolc tokenizerfind::find(stringc& atom1,stringc& atom2)
00070 {
00071   if (find(atom1)==false)
00072     return false;
00073 
00074   index += atom1.length()-1;
00075   return find(atom2);
00076 }
00077 
00078 boolc tokenizerfind::find(stringc& atom1)
00079 {
00080   atom=atom1;
00081   return reset();
00082 }
00083 

Generated on Fri Mar 4 00:49:29 2011 for Chelton Evans Source by  doxygen 1.5.8