NCBI C++ ToolKit
Classes | Functions | Variables
prt2fsm.cpp File Reference
#include <ncbi_pch.hpp>
#include <corelib/ncbiapp.hpp>
#include <objects/macro/Search_func.hpp>
#include <objects/macro/Suspect_rule.hpp>
#include <objects/macro/Suspect_rule_set.hpp>
#include <serial/objistr.hpp>
#include <serial/objostr.hpp>
#include <util/multipattern_search.hpp>
#include <serial/serial.hpp>
+ Include dependency graph for prt2fsm.cpp:

Go to the source code of this file.

Go to the SVN repository for this file.

Classes

class  CPrt2FsmApp
 
class  CBinaryToCPP
 

Functions

string QuoteString (const string &s)
 
void QuoteBinary (std::ostream &ostr, const char *ptr, size_t size)
 
string QuoteBinary (const char *ptr, size_t size)
 
void QuoteBinaryHex (std::ostream &ostr, const char *ptr, size_t size)
 
bool xTryProductRules (const string &filename, std::istream &file, std::ostream &ostr)
 
bool xTryTextFile (const string &fname, std::istream &file, std::ostream &ostr)
 
int main (int argc, const char *argv[])
 

Variables

 USING_NCBI_SCOPE
 
static const pair< string, CMultipatternSearch::TFlags > FlagNames []
 

Function Documentation

◆ main()

int main ( int  argc,
const char *  argv[] 
)

Definition at line 337 of file prt2fsm.cpp.

References CNcbiApplicationAPI::AppMain().

◆ QuoteBinary() [1/2]

string QuoteBinary ( const char *  ptr,
size_t  size 
)

Definition at line 121 of file prt2fsm.cpp.

References QuoteBinary(), ncbi::grid::netcache::search::fields::size, and str().

◆ QuoteBinary() [2/2]

void QuoteBinary ( std::ostream &  ostr,
const char *  ptr,
size_t  size 
)

Definition at line 93 of file prt2fsm.cpp.

References NStr::NumericToString(), and ncbi::grid::netcache::search::fields::size.

Referenced by QuoteBinary().

◆ QuoteBinaryHex()

void QuoteBinaryHex ( std::ostream &  ostr,
const char *  ptr,
size_t  size 
)

◆ QuoteString()

string QuoteString ( const string s)

Definition at line 70 of file prt2fsm.cpp.

References NCBI_FALLTHROUGH, and str().

◆ xTryProductRules()

bool xTryProductRules ( const string filename,
std::istream &  file,
std::ostream &  ostr 
)

◆ xTryTextFile()

bool xTryTextFile ( const string fname,
std::istream &  file,
std::ostream &  ostr 
)

Definition at line 248 of file prt2fsm.cpp.

References f(), file, FlagNames, flags, i, input(), and string.

Referenced by CPrt2FsmApp::Run().

Variable Documentation

◆ FlagNames

const pair<string, CMultipatternSearch::TFlags> FlagNames[]
static

◆ USING_NCBI_SCOPE

USING_NCBI_SCOPE

Definition at line 43 of file prt2fsm.cpp.

Modified on Wed Jun 19 17:02:09 2024 by modify_doxy.py rev. 669887