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

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

1 #ifndef GUI_OBJUTILS___DESCRIPTOR_CHANGE__HPP 2 #define GUI_OBJUTILS___DESCRIPTOR_CHANGE__HPP 57  virtual string GetLabel

() {

return "Edit unindexed object"

; };

90  T

* actual_obj =

dynamic_cast<T

*

>

(obj);

93  LOG_POST

(

Error

<<

"Error: attempt to edit wrong kind of object"

);

97  const T

* tnew_obj =

dynamic_cast<const T

*

>

(new_obj);

99  LOG_POST

(

Error

<<

"Error: attempt to edit object with object of different type"

);

107

orig_obj->Assign(*actual_obj);

109

m_UnindexedObjects.push_back(sobj);

116  const

objects::CBioseq* orig_bioseq =

dynamic_cast<const

objects::CBioseq*

>

(obj.

object

.

GetPointer

());

117  if

( ! orig_bioseq) {

118  LOG_POST

(

Error

<<

"Error: attempt to edit non-CBioseq object" 123

objects::CBioseq* actual_bioseq = (objects::CBioseq*) (orig_bioseq);

125  const

objects::CBioseq* new_bioseq =

dynamic_cast<const

objects::CBioseq*

>

(new_obj);

127  LOG_POST

(

Error

<<

"Error: attempt to edit non-CBioseq object" 133

sbioseq.

handle

= obj.

scope

->GetBioseqEditHandle(*orig_bioseq);

138

m_Bioseqs.push_back(sbioseq);

154

bioseq.

handle

.SetInst(*inst);

169

bioseq.

handle

.SetInst(*inst);

180  CCmdChangeSeqdesc

(

const

objects::CSeq_entry_Handle& seh,

const

objects::CSeqdesc& old_desc,

const

objects::CSeqdesc& new_desc)

181

: m_Seh(seh), m_OldDesc(&old_desc), m_NewDesc(&new_desc)

User-defined methods of the data storage class.

vector< SBioseq > TBioseqs

TUnindexedObjects m_UnindexedObjects

virtual void Unexecute()

Undo (opposite to Execute())

void AddBioseq(SConstScopedObject &obj, const CObject *new_obj)

CChangeUnindexedObjectCommand()

vector< SUnindexedObject > TUnindexedObjects

virtual void Execute()

Do the editing action.

virtual string GetLabel()

void Add(CObject *obj, const CObject *new_obj)

objects::CSeq_entry_Handle m_Seh

CCmdChangeSeqdesc(const objects::CSeq_entry_Handle &seh, const objects::CSeqdesc &old_desc, const objects::CSeqdesc &new_desc)

CConstRef< objects::CSeqdesc > m_NewDesc

CConstRef< objects::CSeqdesc > m_OldDesc

Interface (functor) for object editing.

virtual void Unexecute()=0

Undo (opposite to Execute())

CChangeUnindexedObjectCommand< objects::CSubmit_block > CChangeSubmitBlockCommand

#define NON_CONST_ITERATE(Type, Var, Cont)

Non constant version of ITERATE macro.

#define LOG_POST(message)

This macro is deprecated and it's strongly recomended to move in all projects (except tests) to macro...

void Error(CExceptionArgs_Base &args)

CRef< objects::CScope > scope

CConstRef< CObject > object

string GetLabel(const CSeq_id &id)

TObjectType * GetPointer(void) const THROWS_NONE

Get pointer,.

void Reset(void)

Reset reference object.

void Reset(void)

Reset reference object.

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

#define NCBI_GUIOBJUTILS_EXPORT

Defines to provide correct exporting from DLLs in Windows.

string Execute(const string &cmmd, const vector< string > &args, const string &data=kEmptyStr)

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

CRef< objects::CBioseq > orig_bioseq

objects::CBioseq_EditHandle handle

CConstRef< objects::CBioseq > new_bioseq

CRef< objects::CBioseq > actual_bioseq


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