A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/alnmgr__sample_8cpp_source.html below:

NCBI C++ ToolKit: src/sample/app/alnmgr/alnmgr_sample.cpp Source File

68  virtual void Init

(

void

);

69  virtual int Run

(

void

);

79

arg_desc->SetUsageContext

81  "Alignment manager demo program: Seq-align extractor/viewer"

);

84

arg_desc->AddDefaultKey

85

(

"in"

,

"InputFile"

,

86  "name of file to read from (standard input by default)"

,

89

arg_desc->AddDefaultKey

90

(

"out"

,

"OutputFile"

,

91  "name of file to write to (standard output by default)"

,

94

arg_desc->AddDefaultKey

95

(

"asnout"

,

"OutputFile"

,

96  "name of asn file to write to (standard output by default)"

,

121

asn_out->SetSeparator(

"\n"

);

136

*asn_out << Separator;

145  for

(

int i

= 0;

i

< chunk_vec->size();

i

++) {

147  if

(!chunk->IsGap()) {

148  out

<< chunk->GetRange().GetFrom() <<

"-"

<< chunk->GetRange().GetTo();

156

cout <<

"(NotAlignedToSeqOnAnchor)"

;

159

cout <<

"(UnalignedOnRight)"

;

162

cout <<

"(UnalignedOnLeft)"

;

165

cout <<

"(NoSeqOnRight)"

;

168

cout <<

"(NoSeqOnLeft)"

;

171

cout <<

"(EndOnRight)"

;

174

cout <<

"(EndOnLeft)"

;

int NcbiSys_main(int argc, TXChar *argv[])

@ fNotAlignedToSeqOnAnchor

void SetAnchor(TNumrow anchor)

CRef< CAlnChunkVec > GetAlnChunks(TNumrow row, const TSignedRange &range, TGetChunkFlags flags=fAlnSegsOnly) const

void Add(const CDense_seg &ds, TAddFlags flags=0)

void Merge(TMergeFlags flags=0)

const CDense_seg & GetDenseg(void) const

static TRegisterLoaderInfo RegisterInObjectManager(CObjectManager &om, CReader *reader=0, CObjectManager::EIsDefault is_default=CObjectManager::eDefault, CObjectManager::TPriority priority=CObjectManager::kPriority_NotSet)

virtual int Run(void)

Run the application.

virtual void Init(void)

Initialize the application.

Template class for iteration on objects of class C.

std::ofstream out("events_result.xml")

main entry point for tests

const CNcbiRegistry & GetConfig(void) const

Get the application's cached configuration parameters (read-only).

virtual const CArgs & GetArgs(void) const

Get parsed command line arguments.

int AppMain(int argc, const char *const *argv, const char *const *envp=0, EAppDiagStream diag=eDS_Default, const char *conf=NcbiEmptyCStr, const string &name=NcbiEmptyString)

Main function (entry point) for the NCBI application.

virtual void SetupArgDescriptions(CArgDescriptions *arg_desc)

Setup the command line argument descriptions.

const CNcbiArguments & GetArguments(void) const

Get the application's cached unprocessed command-line arguments.

@ fPreOpen

Open file right away; for eInputFile, eOutputFile, eIOFile.

@ eInputFile

Name of file (must exist and be readable)

@ eOutputFile

Name of file (must be writable)

@ eSerial_AsnText

ASN.1 text.

CBeginInfo Begin(C &obj)

Get starting point of object hierarchy.

static CObjectOStream * Open(ESerialDataFormat format, CNcbiOstream &outStream, bool deleteOutStream)

Create serial object writer and attach it to an output stream.

static CObjectIStream * Open(ESerialDataFormat format, CNcbiIstream &inStream, bool deleteInStream)

Create serial object reader and attach it to an input stream.

static CRef< CObjectManager > GetInstance(void)

Return the existing object manager or create one.

void AddDefaults(TPriority pri=kPriority_Default)

Add default data loaders from object manager.

IO_PREFIX::ostream CNcbiOstream

Portable alias for ostream.

void CONNECT_Init(const IRWRegistry *reg=0, CRWLock *lock=0, TConnectInitFlags flag=eConnectInit_OwnNothing, FSSLSetup ssl=0)

Init [X]CONNECT library with the specified "reg" and "lock" (ownership for either or both can be deta...

Magic spell ;-) needed for some weird compilers... very empiric.

Defines the CNcbiApplication and CAppException classes for creating NCBI applications.

Defines command line argument related classes.

Defines unified interface to application:

std::istream & in(std::istream &in_, double &x_)


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4