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/obj__conv__profile_8cpp_source.html below:

NCBI C++ ToolKit: src/gui/objutils/obj_conv_profile/obj_conv_profile.cpp Source File

33 #include "/usr/local/valgrind-3.5.0/include/valgrind/callgrind.h" 59  virtual void Init

(

void

);

60  virtual int Run

(

void

);

61  virtual void Exit

(

void

);

84

arg_desc->SetUsageContext(

GetArguments

().GetProgramBasename(),

85  "Math library test app"

);

101

unique_ptr<CObjectIStream> istr(

103  "/net/snowman/vol/export2/win-coremake/App/Ncbi/gbench/data/test_for_cleanup.asn"

));

105  string

header = istr->ReadFileHeader();

108

istr->ReadObject(so.

GetPointer

(), type_info);

121

CALLGRIND_START_INSTRUMENTATION;

123

CALLGRIND_STOP_INSTRUMENTATION;

124

CALLGRIND_DUMP_STATS;

127

cout <<

"Converted in "

<<

t

<<

" sec"

<< endl;

130

cout << it->first <<

": "

<< it->second.size() <<

" Seq-locs"

<< endl;

139  const string

&

type

,

146  const CObject

* p_obj = it->object;

147

objects::CScope* p_scope =

const_cast<

objects::CScope*

>

(it->scope.GetPointer());

148  if

( !p_obj || !p_scope || objects_used.

find

( p_obj ) != objects_used.

end

() ){

151  const CObject

&

object

= *p_obj;

152

objects::CScope& scope = *p_scope;

158  if

( relations.size() > 1 && itr == relations.begin() ){

168  if

( !related.empty() ){

virtual int Run(void)

Run the application.

virtual void Exit(void)

Cleanup on application exit.

virtual void Init(void)

Initialize the application.

CRef< CObjectManager > m_ObjectManager

void x_CreateRelatedMap(TConstScopedObjects &input, const string &type, TRelatedObjectsMap &map)

vector< TRelation > TRelationVector

static void FindRelations(objects::CScope &scope, const CObject &obj, const string &to_type_in, TRelationVector &relations)

vector< SObject > TObjects

virtual string GetProperty(const string &) const

virtual void GetRelated(objects::CScope &scope, const CObject &obj, TObjects &related, TFlags flags=eDefault, ICanceled *cancel=NULL) const =0

@ fConvert_NoExpensive

do not perform any expensive tests (such as fetching from the network)

Base class for all serializable objects.

CTypeInfo class contains all information about C++ types (both basic and classes): members and layout...

const_iterator find(const key_type &key) const

const_iterator end() const

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.

#define ITERATE(Type, Var, Cont)

ITERATE macro to sequence through container elements.

const CNcbiArguments & GetArguments(void) const

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

void SetDiagStream(CNcbiOstream *os, bool quick_flush=true, FDiagCleanup cleanup=0, void *cleanup_data=0, const string &stream_name="")

Set diagnostic stream.

vector< SConstScopedObject > TConstScopedObjects

@ eSerial_AsnText

ASN.1 text.

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.

TObjectType * GetPointer(void) THROWS_NONE

Get pointer,.

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

static string DoubleToString(double value, int precision=-1, TNumToStringFlags flags=0)

Convert double to string.

double Elapsed(void) const

Return time elapsed since first Start() or last Restart() call (in seconds).

void Start(void)

Start the timer.

static TTypeInfo GetClassInfoByName(const string &name)

TObjectPtr Create(CObjectMemoryPool *memoryPool=0) const

Create object of this type on heap (can be deleted by operator delete)

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:

Defines: CTimeFormat - storage class for time format.

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


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