NCBI C++ ToolKit
publisher_panel.cpp
Go to the documentation of this file.

Go to the SVN repository for this file.

1 /* $Id: publisher_panel.cpp 47479 2023-05-02 13:24:02Z ucko $
2  * ===========================================================================
3  *
4  * PUBLIC DOMAIN NOTICE
5  * National Center for Biotechnology Information
6  *
7  * This software/database is a "United States Government Work" under the
8  * terms of the United States Copyright Act. It was written as part of
9  * the author's official duties as a United States Government employee and
10  * thus cannot be copyrighted. This software/database is freely available
11  * to the public for use. The National Library of Medicine and the U.S.
12  * Government have not placed any restriction on its use or reproduction.
13  *
14  * Although all reasonable efforts have been taken to ensure the accuracy
15  * and reliability of the software and data, the NLM and the U.S.
16  * Government do not and cannot warrant the performance or results that
17  * may be obtained by using this software or data. The NLM and the U.S.
18  * Government disclaim all warranties, express or implied, including
19  * warranties of performance, merchantability or fitness for any particular
20  * purpose.
21  *
22  * Please cite the author in any work or product based on this material.
23  *
24  * ===========================================================================
25  *
26  * Authors: Colleen Bollin
27  */
28 
29 
30 #include <ncbi_pch.hpp>
33 
35 #include <objects/biblio/Affil.hpp>
36 #include <objects/general/Date.hpp>
38 
41 
42 ////@begin includes
43 ////@end includes
44 ////@begin includes
45 ////@end includes
46 
47 #include "publisher_panel.hpp"
48 
49 #include <wx/sizer.h>
50 #include <wx/bitmap.h>
51 #include <wx/icon.h>
52 #include <wx/stattext.h>
53 #include <wx/textctrl.h>
54 
57 
58 ////@begin XPM images
59 ////@end XPM images
60 
61 
62 /*
63  * CPublisherPanel type definition
64  */
65 
66 IMPLEMENT_DYNAMIC_CLASS( CPublisherPanel, wxPanel )
67 
68 
69 /*
70  * CPublisherPanel event table definition
71  */
72 
73 BEGIN_EVENT_TABLE( CPublisherPanel, wxPanel )
74 
75 ////@begin CPublisherPanel event table entries
76 ////@end CPublisherPanel event table entries
77 
79 
80 
81 /*
82  * CPublisherPanel constructors
83  */
84 
86 {
87  Init();
88 }
89 
90 CPublisherPanel::CPublisherPanel( wxWindow* parent, CSerialObject& object, bool show_pages,
91  wxWindowID id, const wxPoint& pos, const wxSize& size, long style ) :
92  m_Object(0), m_ShowPages(show_pages)
93 {
94  Init();
95  m_Object = dynamic_cast<CImprint*>(&object);
96 
97  const CImprint& imprint = dynamic_cast<const CImprint&>(*m_Object);
98  m_EditedImprint.Reset((CSerialObject*)CImprint::GetTypeInfo()->Create());
99  m_EditedImprint->Assign(imprint);
100  Create(parent, id, pos, size, style);
101 }
102 
103 
104 /*
105  * CPublisherPanel creator
106  */
107 
108 bool CPublisherPanel::Create( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style )
109 {
110 ////@begin CPublisherPanel creation
111  SetExtraStyle(wxWS_EX_BLOCK_EVENTS);
112  wxPanel::Create( parent, id, pos, size, style );
113 
114  CreateControls();
115  if (GetSizer())
116  {
117  GetSizer()->SetSizeHints(this);
118  }
119  Centre();
120 ////@end CPublisherPanel creation
121  return true;
122 }
123 
124 
125 /*
126  * CPublisherPanel destructor
127  */
128 
130 {
131 ////@begin CPublisherPanel destruction
132 ////@end CPublisherPanel destruction
133 }
134 
135 
136 /*
137  * Member initialisation
138  */
139 
141 {
142 ////@begin CPublisherPanel member initialisation
143  m_GridSizer = NULL;
144  m_AffilCtrl = NULL;
145  m_StreetCtrl = NULL;
146  m_CityCtrl = NULL;
147  m_SubCtrl = NULL;
148  m_ZipCtrl = NULL;
150  m_PhoneCtrl = NULL;
151  m_FaxCtrl = NULL;
152  m_EmailCtrl = NULL;
155 ////@end CPublisherPanel member initialisation
156 }
157 
158 
159 /*
160  * Control creation for CPublisherPanel
161  */
162 
164 {
165 ////@begin CPublisherPanel content construction
166  CPublisherPanel* itemPanel1 = this;
167 
168  wxBoxSizer* itemBoxSizer2 = new wxBoxSizer(wxVERTICAL);
169  itemPanel1->SetSizer(itemBoxSizer2);
170 
171  m_GridSizer = new wxFlexGridSizer(0, 2, 0, 0);
172  itemBoxSizer2->Add(m_GridSizer, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5);
173 
174  wxStaticText* itemStaticText4 = new wxStaticText( itemPanel1, wxID_STATIC, _("Publisher"), wxDefaultPosition, wxDefaultSize, 0 );
175  m_GridSizer->Add(itemStaticText4, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL, 5);
176 
177  m_AffilCtrl = new wxTextCtrl( itemPanel1, ID_PUBLISHER_NAME, wxEmptyString, wxDefaultPosition, wxSize(200, -1), 0 );
178  m_GridSizer->Add(m_AffilCtrl, 0, wxALIGN_LEFT|wxALIGN_CENTER_VERTICAL|wxALL, 5);
179 
180  wxStaticText* itemStaticText6 = new wxStaticText( itemPanel1, wxID_STATIC, _("Address"), wxDefaultPosition, wxDefaultSize, 0 );
181  m_GridSizer->Add(itemStaticText6, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL, 5);
182 
183  m_StreetCtrl = new wxTextCtrl( itemPanel1, ID_PUBLISHER_ADDRESS, wxEmptyString, wxDefaultPosition, wxSize(200, -1), 0 );
184  m_GridSizer->Add(m_StreetCtrl, 0, wxALIGN_LEFT|wxALIGN_CENTER_VERTICAL|wxALL, 5);
185 
186  wxStaticText* itemStaticText8 = new wxStaticText( itemPanel1, wxID_STATIC, _("City"), wxDefaultPosition, wxDefaultSize, 0 );
187  m_GridSizer->Add(itemStaticText8, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL, 5);
188 
189  m_CityCtrl = new wxTextCtrl( itemPanel1, ID_PUBLISHER_CITY, wxEmptyString, wxDefaultPosition, wxSize(200, -1), 0 );
190  m_GridSizer->Add(m_CityCtrl, 0, wxALIGN_LEFT|wxALIGN_CENTER_VERTICAL|wxALL, 5);
191 
192  wxStaticText* itemStaticText10 = new wxStaticText( itemPanel1, wxID_STATIC, _("State/Province"), wxDefaultPosition, wxDefaultSize, 0 );
193  m_GridSizer->Add(itemStaticText10, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL, 5);
194 
195  m_SubCtrl = new wxTextCtrl( itemPanel1, ID_PUBLISHER_STATE, wxEmptyString, wxDefaultPosition, wxSize(200, -1), 0 );
196  m_GridSizer->Add(m_SubCtrl, 0, wxALIGN_LEFT|wxALIGN_CENTER_VERTICAL|wxALL, 5);
197 
198  wxStaticText* itemStaticText12 = new wxStaticText( itemPanel1, wxID_STATIC, _("Zip/Postal Code"), wxDefaultPosition, wxDefaultSize, 0 );
199  m_GridSizer->Add(itemStaticText12, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL, 5);
200 
201  m_ZipCtrl = new wxTextCtrl( itemPanel1, ID_PUBLISHER_CODE, wxEmptyString, wxDefaultPosition, wxSize(200, -1), 0 );
202  m_GridSizer->Add(m_ZipCtrl, 0, wxALIGN_LEFT|wxALIGN_CENTER_VERTICAL|wxALL, 5);
203 
204  wxStaticText* itemStaticText14 = new wxStaticText( itemPanel1, wxID_STATIC, _("Country"), wxDefaultPosition, wxDefaultSize, 0 );
205  m_GridSizer->Add(itemStaticText14, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL, 5);
206 
207  m_CountryCtrl = new wxTextCtrl( itemPanel1, ID_PUBLISHER_COUNTRY, wxEmptyString, wxDefaultPosition, wxSize(200, -1), 0 );
208  m_GridSizer->Add(m_CountryCtrl, 0, wxALIGN_LEFT|wxALIGN_CENTER_VERTICAL|wxALL, 5);
209 
210  wxStaticText* itemStaticText16 = new wxStaticText( itemPanel1, wxID_STATIC, _("Phone (*)"), wxDefaultPosition, wxDefaultSize, 0 );
211  m_GridSizer->Add(itemStaticText16, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL, 5);
212 
213  m_PhoneCtrl = new wxTextCtrl( itemPanel1, ID_PUBLISHER_PHONE, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
214  m_GridSizer->Add(m_PhoneCtrl, 0, wxALIGN_LEFT|wxALIGN_CENTER_VERTICAL|wxALL, 5);
215 
216  wxStaticText* itemStaticText18 = new wxStaticText( itemPanel1, wxID_STATIC, _("Fax (*)"), wxDefaultPosition, wxDefaultSize, 0 );
217  m_GridSizer->Add(itemStaticText18, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL, 5);
218 
219  m_FaxCtrl = new wxTextCtrl( itemPanel1, ID_PUBLISHER_FAX, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
220  m_GridSizer->Add(m_FaxCtrl, 0, wxALIGN_LEFT|wxALIGN_CENTER_VERTICAL|wxALL, 5);
221 
222  wxStaticText* itemStaticText20 = new wxStaticText( itemPanel1, wxID_STATIC, _("Internet Access"), wxDefaultPosition, wxDefaultSize, 0 );
223  m_GridSizer->Add(itemStaticText20, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL, 5);
224 
225  m_EmailCtrl = new wxTextCtrl( itemPanel1, ID_PUBLISHER_EMAIL, wxEmptyString, wxDefaultPosition, wxSize(200, -1), 0 );
226  m_GridSizer->Add(m_EmailCtrl, 0, wxALIGN_LEFT|wxALIGN_CENTER_VERTICAL|wxALL, 5);
227 
228  wxStaticText* itemStaticText22 = new wxStaticText( itemPanel1, wxID_STATIC, _("Publication Year"), wxDefaultPosition, wxDefaultSize, 0 );
229  m_GridSizer->Add(itemStaticText22, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL, 5);
230 
231  m_PubYearCtrl = new wxTextCtrl( itemPanel1, ID_TEXTCTRL2, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
232  m_GridSizer->Add(m_PubYearCtrl, 0, wxALIGN_LEFT|wxALIGN_CENTER_VERTICAL|wxALL, 5);
233 
234  wxStaticText* itemStaticText24 = new wxStaticText( itemPanel1, wxID_STATIC, _("Copyright Year"), wxDefaultPosition, wxDefaultSize, 0 );
235  m_GridSizer->Add(itemStaticText24, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL, 5);
236 
237  m_CpyYearCtrl = new wxTextCtrl( itemPanel1, ID_TEXTCTRL3, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
238  m_GridSizer->Add(m_CpyYearCtrl, 0, wxALIGN_LEFT|wxALIGN_CENTER_VERTICAL|wxALL, 5);
239 
240  wxStaticText* itemStaticText26 = new wxStaticText( itemPanel1, wxID_STATIC, _("(*) Please include country code for non-U.S. phone numbers"), wxDefaultPosition, wxDefaultSize, 0 );
241  itemBoxSizer2->Add(itemStaticText26, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5);
242 
243 ////@end CPublisherPanel content construction
244 
245  CImprint& imprint = dynamic_cast<CImprint&>(*m_EditedImprint);
246 
247  if (m_ShowPages) {
248  wxStaticText* pages_label = new wxStaticText( itemPanel1, wxID_STATIC, _("Pages"), wxDefaultPosition, wxDefaultSize, 0 );
249  m_GridSizer->Add(pages_label, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL, 5);
250 
251  wxTextCtrl* pages_ctrl = new wxTextCtrl( itemPanel1, ID_TEXTCTRL3, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
252  m_GridSizer->Add(pages_ctrl, 0, wxALIGN_LEFT|wxALIGN_CENTER_VERTICAL|wxALL, 5);
253  pages_ctrl->SetValidator( CSerialTextValidator(imprint, "pages") );
254  }
255 
256  if (imprint.IsSetDate() && imprint.GetDate().IsStd() && imprint.GetDate().GetStd().IsSetYear()) {
257  m_PubYear = imprint.GetDate().GetStd().GetYear();
258  } else {
259  m_PubYear = 0;
260  }
261  if (imprint.IsSetCprt() && imprint.GetCprt().IsStd() && imprint.GetCprt().GetStd().IsSetYear()) {
262  m_CopyrightYear = imprint.GetCprt().GetStd().GetYear();
263  } else {
264  m_CopyrightYear = 0;
265  }
266  CAffil& pub_affil = imprint.SetPub();
267  if (pub_affil.IsStr()) {
268  string aff = pub_affil.GetStr();
269  pub_affil.SetStd().SetAffil(aff);
270  }
271  CAffil::C_Std& affil_std = pub_affil.SetStd();
272 
273  m_AffilCtrl->SetValidator( CSerialTextValidator(affil_std, "affil") );
274  m_StreetCtrl->SetValidator( CSerialTextValidator(affil_std, "street") );
275  m_CityCtrl->SetValidator( CSerialTextValidator(affil_std, "city") );
276  m_SubCtrl->SetValidator( CSerialTextValidator(affil_std, "sub") );
277  m_ZipCtrl->SetValidator( CSerialTextValidator(affil_std, "postal-code") );
278  m_CountryCtrl->SetValidator( CSerialTextValidator(affil_std, "country") );
279  m_PhoneCtrl->SetValidator( CSerialTextValidator(affil_std, "phone") );
280  m_FaxCtrl->SetValidator( CSerialTextValidator(affil_std, "fax") );
281  m_EmailCtrl->SetValidator( CSerialTextValidator(affil_std, "email") );
284 
285 }
286 
287 
289 {
290  CImprint& imprint = dynamic_cast<CImprint&>(*m_EditedImprint);
291  CAffil& pub_affil = imprint.SetPub();
292  if (pub_affil.IsStr()) {
293  string aff = pub_affil.GetStr();
294  pub_affil.SetStd().SetAffil(aff);
295  }
296 
297  if (!wxPanel::TransferDataToWindow())
298  return false;
299  if (imprint.IsSetDate() && imprint.GetDate().IsStd() && imprint.GetDate().GetStd().IsSetYear()) {
300  m_PubYear = imprint.GetDate().GetStd().GetYear();
301  } else {
302  m_PubYear = 0;
303  }
304  if (imprint.IsSetCprt() && imprint.GetCprt().IsStd() && imprint.GetCprt().GetStd().IsSetYear()) {
305  m_CopyrightYear = imprint.GetCprt().GetStd().GetYear();
306  } else {
307  m_CopyrightYear = 0;
308  }
309  return true;
310 }
311 
312 
314 {
315  if (!wxPanel::TransferDataFromWindow())
316  return false;
317  CImprint& imprint = dynamic_cast<CImprint&>(*m_EditedImprint);
318  if (m_PubYear > 0) {
319  imprint.SetDate().SetStd().SetYear(static_cast<CDate_std::TYear>(m_PubYear));
320  } else {
321  imprint.ResetDate();
322  }
323  if (m_CopyrightYear > 0) {
324  imprint.SetCprt().SetStd().SetYear(static_cast<CDate_std::TYear>(m_CopyrightYear));
325  } else {
326  imprint.ResetCprt();
327  }
328  return true;
329 }
330 
331 
332 void CPublisherPanel::PopulatePublisherFields (objects::CImprint& imprint)
333 {
335 
336  if (m_PubYear > 0) {
337  imprint.SetDate().SetStd().SetYear(static_cast<CDate_std::TYear>(m_PubYear));
338  } else {
339  imprint.ResetDate();
340  }
341  if (m_CopyrightYear > 0) {
342  imprint.SetCprt().SetStd().SetYear(static_cast<CDate_std::TYear>(m_CopyrightYear));
343  } else {
344  imprint.ResetCprt();
345  }
346 
347  CImprint& edited_imprint = dynamic_cast<CImprint&>(*m_EditedImprint);
348 
349  if (edited_imprint.IsSetPages()) {
350  imprint.SetPages(edited_imprint.GetPages());
351  } else {
352  imprint.ResetPages();
353  }
354  if (edited_imprint.IsSetPub() && edited_imprint.GetPub().IsStd() && // Pub.Std is always set thanks to CreateControls
355  (edited_imprint.GetPub().GetStd().IsSetAffil() || edited_imprint.GetPub().GetStd().IsSetDiv() || edited_imprint.GetPub().GetStd().IsSetCity() ||
356  edited_imprint.GetPub().GetStd().IsSetSub() || edited_imprint.GetPub().GetStd().IsSetCountry() || edited_imprint.GetPub().GetStd().IsSetStreet() ||
357  edited_imprint.GetPub().GetStd().IsSetEmail() || edited_imprint.GetPub().GetStd().IsSetFax() || edited_imprint.GetPub().GetStd().IsSetPhone() ||
358  edited_imprint.GetPub().GetStd().IsSetPostal_code() )
359  ) {
360  imprint.SetPub(edited_imprint.SetPub());
361  } else {
362  imprint.ResetPub();
363  }
364 }
365 
366 
367 /*
368  * Should we show tooltips?
369  */
370 
372 {
373  return true;
374 }
375 
376 /*
377  * Get bitmap resources
378  */
379 
380 wxBitmap CPublisherPanel::GetBitmapResource( const wxString& name )
381 {
382  // Bitmap retrieval
383 ////@begin CPublisherPanel bitmap retrieval
384  wxUnusedVar(name);
385  return wxNullBitmap;
386 ////@end CPublisherPanel bitmap retrieval
387 }
388 
389 /*
390  * Get icon resources
391  */
392 
393 wxIcon CPublisherPanel::GetIconResource( const wxString& name )
394 {
395  // Icon retrieval
396 ////@begin CPublisherPanel icon retrieval
397  wxUnusedVar(name);
398  return wxNullIcon;
399 ////@end CPublisherPanel icon retrieval
400 }
401 
User-defined methods of the data storage class.
std representation
Definition: Affil_.hpp:91
@Affil.hpp User-defined methods of the data storage class.
Definition: Affil.hpp:56
CImprint –.
Definition: Imprint.hpp:66
wxTextCtrl * m_StreetCtrl
wxTextCtrl * m_CityCtrl
void PopulatePublisherFields(objects::CImprint &imprint)
wxTextCtrl * m_PhoneCtrl
wxTextCtrl * m_CpyYearCtrl
wxTextCtrl * m_AffilCtrl
wxTextCtrl * m_CountryCtrl
wxTextCtrl * m_SubCtrl
wxTextCtrl * m_EmailCtrl
~CPublisherPanel()
Destructor.
CPublisherPanel()
Constructors.
wxTextCtrl * m_ZipCtrl
virtual bool TransferDataFromWindow()
wxTextCtrl * m_PubYearCtrl
wxBitmap GetBitmapResource(const wxString &name)
Retrieves bitmap resources.
wxIcon GetIconResource(const wxString &name)
Retrieves icon resources.
wxTextCtrl * m_FaxCtrl
virtual bool TransferDataToWindow()
static bool ShowToolTips()
Should we show tooltips?
bool Create(wxWindow *parent, wxWindowID id=10002, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL)
Creation.
wxFlexGridSizer * m_GridSizer
CRef< CSerialObject > m_EditedImprint
void Init()
Initialises member variables.
CSerialObject * m_Object
void CreateControls()
Creates the controls and sizers.
Base class for all serializable objects.
Definition: serialbase.hpp:150
#define _(proto)
Definition: ct_nlmzip_i.h:78
static void Init(void)
Definition: cursor6.c:76
#define NULL
Definition: ncbistd.hpp:225
virtual void Assign(const CSerialObject &source, ESerialRecursionMode how=eRecursive)
Set object to copy of another one.
void Reset(void)
Reset reference object.
Definition: ncbiobj.hpp:773
#define END_NCBI_SCOPE
End previously defined NCBI scope.
Definition: ncbistl.hpp:103
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
Definition: ncbistl.hpp:100
void SetAffil(const TAffil &value)
Assign a value to Affil data member.
Definition: Affil_.hpp:709
const TCprt & GetCprt(void) const
Get the Cprt member data.
Definition: Imprint_.hpp:967
void SetPages(const TPages &value)
Assign a value to Pages data member.
Definition: Imprint_.hpp:861
void SetCprt(TCprt &value)
Assign a value to Cprt data member.
Definition: Imprint_.cpp:124
const TPages & GetPages(void) const
Get the Pages member data.
Definition: Imprint_.hpp:852
bool IsSetPub(void) const
publisher, required for book Check if a value has been assigned to Pub data member.
Definition: Imprint_.hpp:934
bool IsSetPhone(void) const
Check if a value has been assigned to Phone data member.
Definition: Affil_.hpp:1064
bool IsSetStreet(void) const
street address, not ANSI Check if a value has been assigned to Street data member.
Definition: Affil_.hpp:923
const TStr & GetStr(void) const
Get the variant data.
Definition: Affil_.hpp:1193
bool IsSetCity(void) const
Author Affiliation, City Check if a value has been assigned to City data member.
Definition: Affil_.hpp:782
void ResetDate(void)
Reset Date data member.
Definition: Imprint_.cpp:64
bool IsSetEmail(void) const
Check if a value has been assigned to Email data member.
Definition: Affil_.hpp:970
void ResetCprt(void)
Reset Cprt data member.
Definition: Imprint_.cpp:119
const TPub & GetPub(void) const
Get the Pub member data.
Definition: Imprint_.hpp:946
void SetPub(TPub &value)
Assign a value to Pub data member.
Definition: Imprint_.cpp:107
bool IsStr(void) const
Check if variant Str is selected.
Definition: Affil_.hpp:1187
void SetDate(TDate &value)
Assign a value to Date data member.
Definition: Imprint_.cpp:73
bool IsSetFax(void) const
Check if a value has been assigned to Fax data member.
Definition: Affil_.hpp:1017
bool IsSetDiv(void) const
Author Affiliation, Division Check if a value has been assigned to Div data member.
Definition: Affil_.hpp:735
const TStd & GetStd(void) const
Get the variant data.
Definition: Affil_.cpp:214
bool IsSetDate(void) const
date of publication Check if a value has been assigned to Date data member.
Definition: Imprint_.hpp:716
const TDate & GetDate(void) const
Get the Date member data.
Definition: Imprint_.hpp:728
bool IsSetCprt(void) const
copyright date, " " " Check if a value has been assigned to Cprt data member.
Definition: Imprint_.hpp:955
bool IsStd(void) const
Check if variant Std is selected.
Definition: Affil_.hpp:1207
bool IsSetPostal_code(void) const
Check if a value has been assigned to Postal_code data member.
Definition: Affil_.hpp:1111
bool IsSetCountry(void) const
Author Affiliation, Country Check if a value has been assigned to Country data member.
Definition: Affil_.hpp:876
bool IsSetPages(void) const
Check if a value has been assigned to Pages data member.
Definition: Imprint_.hpp:840
bool IsSetAffil(void) const
Author Affiliation, Name Check if a value has been assigned to Affil data member.
Definition: Affil_.hpp:688
TStd & SetStd(void)
Select the variant.
Definition: Affil_.cpp:220
bool IsSetSub(void) const
Author Affiliation, County Sub Check if a value has been assigned to Sub data member.
Definition: Affil_.hpp:829
bool IsSetYear(void) const
full year (including 1900) Check if a value has been assigned to Year data member.
Definition: Date_std_.hpp:407
bool IsStd(void) const
Check if variant Std is selected.
Definition: Date_.hpp:320
TYear GetYear(void) const
Get the Year member data.
Definition: Date_std_.hpp:426
const TStd & GetStd(void) const
Get the variant data.
Definition: Date_.cpp:109
#define ID_TEXTCTRL3
END_EVENT_TABLE()
const struct ncbi::grid::netcache::search::fields::SIZE size
USING_SCOPE(objects)
#define ID_PUBLISHER_NAME
#define ID_PUBLISHER_FAX
#define ID_PUBLISHER_PHONE
#define ID_PUBLISHER_STATE
#define ID_PUBLISHER_COUNTRY
#define ID_PUBLISHER_EMAIL
#define ID_PUBLISHER_CODE
#define ID_PUBLISHER_ADDRESS
#define ID_PUBLISHER_CITY
#define ID_TEXTCTRL2
Modified on Tue Nov 28 02:29:16 2023 by modify_doxy.py rev. 669887