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

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

38 #include <wx/stattext.h> 89 

wxPanel::Create( parent,

id

, pos,

size

, style );

94

GetSizer()->SetSizeHints(

this

);

134

wxBoxSizer* itemBoxSizer2 =

new

wxBoxSizer(wxVERTICAL);

135

itemPanel1->SetSizer(itemBoxSizer2);

137

wxFlexGridSizer* itemFlexGridSizer3 =

new

wxFlexGridSizer(0, 2, 0, 0);

138

itemBoxSizer2->Add(itemFlexGridSizer3, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5);

140

wxStaticText* itemStaticText4 =

new

wxStaticText( itemPanel1, wxID_STATIC,

_

(

"Study"

), wxDefaultPosition, wxDefaultSize, 0 );

141

itemFlexGridSizer3->Add(itemStaticText4, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5);

144

itemFlexGridSizer3->Add(

m_StudyTxt

, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5);

201  if

((*it)->IsSetLabel() && (*it)->GetLabel().IsStr()) {

203  if

((*it)->IsSetData() && (*it)->GetData().IsStr()) {

204

study = (*it)->GetData().GetStr();

223

user->

SetType

().SetStr(

"AuthorizedAccess"

);

228

CUser_object::TData::iterator it = user->

SetData

().begin();

229  while

(it != user->

SetData

().end()) {

230  if

((*it)->IsSetLabel() && (*it)->GetLabel().IsStr() &&

NStr::EqualNocase

((*it)->GetLabel().GetStr(),

kStudy

)) {

231

it = user->

SetData

().erase(it);

241

new_field->

SetData

().SetStr(study);

242

user->

SetData

().push_back(new_field);

252  tmp

->Assign(desc.GetUser());

254

TransferDataToWindow();

260

TransferDataFromWindow();

static const string kStudy

~CAuthorizedAccessPanel()

Destructor.

CRef< objects::CUser_object > m_User

void Init()

Initialises member variables.

CRef< objects::CUser_object > GetUser_object()

void SetUser_object(CRef< objects::CUser_object > user)

wxBitmap GetBitmapResource(const wxString &name)

Retrieves bitmap resources.

static bool ShowToolTips()

Should we show tooltips?

void CreateControls()

Creates the controls and sizers.

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

Creation.

virtual void UpdateSeqdesc(objects::CSeqdesc &desc)

virtual void ChangeSeqdesc(const objects::CSeqdesc &desc)

wxIcon GetIconResource(const wxString &name)

Retrieves icon resources.

CAuthorizedAccessPanel()

Constructors.

#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.

void Reset(void)

Reset reference object.

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

static bool IsBlank(const CTempString str, SIZE_TYPE pos=0)

Check if a string is blank (has no text).

static bool EqualNocase(const CTempString s1, SIZE_TYPE pos, SIZE_TYPE n, const char *s2)

Case-insensitive equality of a substring with another string.

bool IsSetData(void) const

the object itself Check if a value has been assigned to Data data member.

TData & SetData(void)

Assign a value to Data data member.

void SetLabel(TLabel &value)

Assign a value to Label data member.

void SetType(TType &value)

Assign a value to Type data member.

void SetData(TData &value)

Assign a value to Data data member.

vector< CRef< CUser_field > > TData

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

wxString ToWxString(const string &s)

string ToStdString(const wxString &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