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

NCBI C++ ToolKit: src/gui/widgets/edit/cds_product_panel.cpp Source File

46 #include <wx/stattext.h> 47 #include <wx/textctrl.h> 48 #include <wx/choice.h> 49 #include <wx/bitmap.h> 87

wxWindowID

id

,

const

wxPoint& pos,

const

wxSize&

size

,

long

style )

103 

wxPanel::Create( parent,

id

, pos,

size

, style );

108

GetSizer()->SetSizeHints(

this

);

147

wxBoxSizer* itemBoxSizer2 =

new

wxBoxSizer(wxVERTICAL);

148

itemPanel1->SetSizer(itemBoxSizer2);

159

codeId =

code

.GetId();

160

codeName =

code

.GetName();

166  int

idIndex = -1, idByName = -1;

168  string str

= (*it)->GetName();

169  int id

= (*it)->GetId();

171

string::size_type pos =

str

.find(

';'

);

172  string tmp

= (pos != string::npos) ?

str

.substr(0, pos) +

", etc."

:

str

;

173  int

index = m_GeneticCode->Append(

ToWxString

(

tmp

), (

void

*)

id

);

178  if

(codeName ==

str

)

187

m_GeneticCode->SetSelection(idIndex);

190

m_ConflictCtrl->SetValue (

true

);

197  bool result

= wxPanel::TransferDataFromWindow();

199  int

index = m_GeneticCode->GetSelection();

201  if

(index != wxNOT_FOUND)

202  id

= (long)m_GeneticCode->GetClientData(index);

207  code

->Set().push_back(ce);

212  if

(m_ConflictCtrl->GetValue ()) {

User-defined methods of the data storage class.

void SetCdregionFields(objects::CCdregion &cds)

CCDSProductPanel()

Constructors.

~CCDSProductPanel()

Destructor.

virtual bool TransferDataFromWindow()

static bool ShowToolTips()

Should we show tooltips?

wxBitmap GetBitmapResource(const wxString &name)

Retrieves bitmap resources.

void Init()

Initialises member variables.

bool Create(wxWindow *parent, wxWindowID id=ID_CCDSPRODUCTPANEL, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL)

Creation.

void CreateControls()

Creates the controls and sizers.

wxIcon GetIconResource(const wxString &name)

Retrieves icon resources.

static const CGenetic_code_table & GetCodeTable(void)

Base class for all serializable objects.

static const char * str(char *buf, int n)

#define ITERATE(Type, Var, Cont)

ITERATE macro to sequence through container elements.

virtual void Assign(const CSerialObject &source, ESerialRecursionMode how=eRecursive)

Set object to copy of another one.

virtual const CTypeInfo * GetThisTypeInfo(void) const =0

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

const string & GetName(void) const

Get name of this type.

bool IsSetCode(void) const

genetic code used Check if a value has been assigned to Code data member.

void ResetCode(void)

Reset Code data member.

void SetCode(TCode &value)

Assign a value to Code data member.

list< CRef< CGenetic_code > > Tdata

bool IsSetConflict(void) const

conflict Check if a value has been assigned to Conflict data member.

TFrame GetFrame(void) const

Get the Frame member data.

const TCode & GetCode(void) const

Get the Code member data.

void ResetFrame(void)

Reset Frame data member.

void ResetConflict(void)

Reset Conflict data member.

const Tdata & Get(void) const

Get the member data.

void SetConflict(TConflict value)

Assign a value to Conflict data member.

void SetFrame(TFrame value)

Assign a value to Frame data member.

TConflict GetConflict(void) const

Get the Conflict member data.

bool IsSetFrame(void) const

Check if a value has been assigned to Frame data member.

const struct ncbi::grid::netcache::search::fields::SIZE size

wxString ToWxString(const string &s)


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