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

NCBI C++ ToolKit: include/gui/objutils/relation.hpp Source File

1 #ifndef GUI_UTILS___RELATION__HPP 2 #define GUI_UTILS___RELATION__HPP 60 

fConvert_NoExpensive = 0x03,

145  virtual string GetProperty

(

const string

&

)

const

{

return ""

; }

147  virtual void Dump

(ostream&

)

const

{}

153  static

objects::CUser_object* UserObjectFromRelation(

const CRelation

& relation);

154  static const CRelation

* RelationFromUserObject(

const

objects::CUser_object& user_obj);

170  virtual string GetName

()

const

{

return

m_Name; }

176  virtual void

GetRelated(objects::CScope& scope,

const CObject

& obj,

180  virtual string GetProperty

(

const string

&

)

const

{

return "Not Converted"

; }

181  virtual void Dump

(ostream& ostream)

const

;

190  virtual string GetName

()

const

{

return

m_Name; }

193  virtual string

GetTypeName()

const

;

194  virtual string

GetRelatedTypeName()

const

;

196  virtual void

GetRelated(objects::CScope& scope,

const CObject

& obj,

201  virtual string

GetProperty(

const string

&

key

)

const

;

203  virtual void Dump

(ostream& ostream)

const

;

205  void

AddRelation(

const CRelation

* relation);

210  virtual void

ToUserObject(objects::CUser_object& user_obj)

const

;

211  virtual void

FromUserObject(

const

objects::CUser_object& user_obj);

224  typedef

void (*TFNConvert)(objects::CScope& scope,

235  const string

& from_type,

236  const string

& to_type,

240

m_FromType(from_type),

243

m_Properties(properties) {}

245  virtual string GetName

()

const

{

return

m_Name; }

256

m_pFnCvt(scope, obj, related,

flags

, cancel);

259  virtual string

GetProperty(

const string

&

key

)

const

;

261  virtual void Dump

(ostream& ostream)

const 279 #define BEGIN_RELATION_PROPERTY_LIST(name)\ 280 static const CBasicRelation::SPropPair name[]={\ 282 #define RELATION_PROPERTY_ENTRY(typeName,value)\ 285 #define END_RELATION_PROPERTY_LIST()\ 303

pOb->WriteObject(

out

);

308

pOb->WriteObject(

out

);

virtual string GetTypeName() const

CBasicRelation(const string &name, const string &from_type, const string &to_type, TFNConvert pfncvt, const SPropPair *properties=0)

virtual string GetDescription() const

virtual string GetName() const

const SPropPair * m_Properties

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

virtual void Dump(ostream &ostream) const

virtual string GetRelatedTypeName() const

CComplexRelation(bool parallel=false)

static const char * m_szRelationsFieldName

static const char * m_Name

virtual string GetDescription() const

vector< CConstRef< CRelation > > RelVector

static const char * m_szParallelFieldName

virtual string GetName() const

virtual string GetName() const

virtual string GetDescription() const

virtual string GetTypeName() const

static const char * m_Name

virtual string GetProperty(const string &) const

virtual string GetRelatedTypeName() const

CObjectList Data structure representing a list of CObjects with associated Scopes and other optional ...

virtual string GetDescription() const =0

vector< SObject > TObjects

virtual void ToUserObject(objects::CUser_object &) const

virtual string GetTypeName() const =0

virtual void FromUserObject(const objects::CUser_object &)

virtual string GetRelatedTypeName() const =0

virtual string GetProperty(const string &) const

static const char * m_szRelationName

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

void WriteObject(CObjectOStream &out) const

static const CRelation * ReadObject(CObjectIStream &in)

static const char * m_szUserObjectType

virtual void Dump(ostream &) const

virtual string GetName() const =0

Interface for testing cancellation request in a long lasting operation.

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

main entry point for tests

vector< CRef< CObject > > TObjects

CNcbiIstream & ReadObject(CNcbiIstream &str, TObjectPtr ptr, TTypeInfo info)

CNcbiOstream & WriteObject(CNcbiOstream &str, TConstObjectPtr ptr, TTypeInfo info)

void Reset(void)

Reset reference object.

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define END_SCOPE(ns)

End the previously defined scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

#define BEGIN_SCOPE(ns)

Define a new scope.

#define NCBI_GUIOBJUTILS_EXPORT

Defines to provide correct exporting from DLLs in Windows.

const struct ncbi::grid::netcache::search::fields::KEY key

const CharType(& source)[N]

Portable reference counted smart and weak pointers using CWeakRef, CRef, CObject and CObjectEx.

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

CObjectIStream & operator>>(CObjectIStream &in, const CRelation *&pOb)

CObjectOStream & operator<<(CObjectOStream &out, CRelation *pOb)

void Dump(CSplitCacheApp *app, const C &obj, ESerialDataFormat format, const string &key, const string &suffix=kEmptyStr)

struct SObject provides an interface for defining what is returned from object conversion.

const CObject & operator*() const

return the object through a couple of equivalent functions:

const CObject * GetObjectPtr(void) const

named function

CConstRef< CObject > object

the converted object

string comment

a comment concerning this object's origin

const string & GetComment() const

retrieve a comment concerning what this object means this may be, for example, a description of the r...

CConstRef< CObject > source

the source object

const CObject & GetObject(void) const

named function

const CObject & GetSource() const

retrieve the source for this object this is the original object that was used to generate this object


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