Lines Matching defs:value
30 bool wxWriteResource(const wxString& section, const wxString& entry, const wxString& value, const wxString& file )
39 return conf.Write( entry, value );
42 bool wxWriteResource(const wxString& section, const wxString& entry, float value, const wxString& file )
45 buf.Printf(wxT("%.4f"), value);
50 bool wxWriteResource(const wxString& section, const wxString& entry, long value, const wxString& file )
53 buf.Printf(wxT("%ld"), value);
58 bool wxWriteResource(const wxString& section, const wxString& entry, int value, const wxString& file )
61 buf.Printf(wxT("%d"), value);
66 bool wxGetResource(const wxString& section, const wxString& entry, wxChar **value, const wxString& file )
82 *value = s;
90 bool wxGetResource(const wxString& section, const wxString& entry, float *value, const wxString& file )
96 *value = (float)wxStrtod(s, NULL);
103 bool wxGetResource(const wxString& section, const wxString& entry, long *value, const wxString& file )
109 *value = wxStrtol(s, NULL, 10);
116 bool wxGetResource(const wxString& section, const wxString& entry, int *value, const wxString& file )
122 *value = (int)wxStrtol(s, NULL, 10);