<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://library.morph.zone/index.php?action=history&amp;feed=atom&amp;title=Przeci%C4%85%C5%BCanie_metody_OM_GET%28%29</id>
		<title>Przeciążanie metody OM GET() - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://library.morph.zone/index.php?action=history&amp;feed=atom&amp;title=Przeci%C4%85%C5%BCanie_metody_OM_GET%28%29"/>
		<link rel="alternate" type="text/html" href="https://library.morph.zone/index.php?title=Przeci%C4%85%C5%BCanie_metody_OM_GET()&amp;action=history"/>
		<updated>2026-05-02T18:56:30Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https://library.morph.zone/index.php?title=Przeci%C4%85%C5%BCanie_metody_OM_GET()&amp;diff=1214&amp;oldid=prev</id>
		<title>Krashan: Formatting.</title>
		<link rel="alternate" type="text/html" href="https://library.morph.zone/index.php?title=Przeci%C4%85%C5%BCanie_metody_OM_GET()&amp;diff=1214&amp;oldid=prev"/>
				<updated>2011-01-26T08:38:15Z</updated>
		
		<summary type="html">&lt;p&gt;Formatting.&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 08:38, 26 January 2011&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l2&quot; &gt;Line 2:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 2:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;----&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;----&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;small&amp;gt;Ten artykuł w innych językach: [[Overriding OM_GET()|angielski]]&amp;lt;/small&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;small&amp;gt;Ten artykuł w innych językach: [[Overriding OM_GET()|angielski]]&amp;lt;/small&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Metoda ''OM_GET()'' służy do odczytywania wartości atrybutu obiektu. Otrzymuje strukturę ''opGet'' jako strukturę parametrów. Struktura ''opGet'' jest zdefiniowana w pliku nagłówkowym ''&amp;lt;intuition/classusr.h&amp;gt;'':&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Metoda ''OM_GET()'' służy do odczytywania wartości atrybutu obiektu. Otrzymuje strukturę ''opGet'' jako strukturę parametrów. Struktura ''opGet'' jest zdefiniowana w pliku nagłówkowym ''&amp;lt;intuition/classusr.h&amp;gt;'':&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Krashan</name></author>	</entry>

	<entry>
		<id>https://library.morph.zone/index.php?title=Przeci%C4%85%C5%BCanie_metody_OM_GET()&amp;diff=1212&amp;oldid=prev</id>
		<title>Krashan: Translation finished.</title>
		<link rel="alternate" type="text/html" href="https://library.morph.zone/index.php?title=Przeci%C4%85%C5%BCanie_metody_OM_GET()&amp;diff=1212&amp;oldid=prev"/>
				<updated>2011-01-26T08:33:20Z</updated>
		
		<summary type="html">&lt;p&gt;Translation finished.&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 08:33, 26 January 2011&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l12&quot; &gt;Line 12:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 12:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; };&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; };&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Unlike &lt;/del&gt;''[[&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Overriding &lt;/del&gt;OM_SET()|OM_SET()]]'', &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;this method handles only one attribute at a time&lt;/del&gt;. &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;The attribute is placed in the &lt;/del&gt;''opg_AttrID'' &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;field&lt;/del&gt;. &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;The field &lt;/del&gt;''opg_Storage'' &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;is a &lt;/del&gt;'''&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;pointer&lt;/del&gt;''' &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;to a place where the attribute value should be stored&lt;/del&gt;. &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;It is defined as a pointer &lt;/del&gt;to ULONG, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;but it may point to anything &lt;/del&gt;(&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;for example to some larger structure&lt;/del&gt;). &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;It allows for passing attributes not fitting in a &lt;/del&gt;32&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;-bit variable&lt;/del&gt;. &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Because &lt;/del&gt;''OM_GET()'' &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;does not have a taglist iteration loop&lt;/del&gt;, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;its implementation is simple&lt;/del&gt;:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;W przeciwieństwie do &lt;/ins&gt;''[[&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Przeciążanie metody &lt;/ins&gt;OM_SET()|OM_SET()]]'', &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;ta metoda w jednym wywołaniu odczytuje zawsze jeden atrybut&lt;/ins&gt;. &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Jego identyfikator umieszcza się w polu &lt;/ins&gt;''opg_AttrID''. &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Pole &lt;/ins&gt;''opg_Storage'' &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;jest &lt;/ins&gt;'''&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;wskaźnikiem&lt;/ins&gt;''' &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;na miejsce w pamięci, gdzie zostanie umieszczona odczytana wartość atrybutu&lt;/ins&gt;. &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Pole &lt;/ins&gt;to &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;jest zdefiniowane jako wskaźnik na ''&lt;/ins&gt;ULONG&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''&lt;/ins&gt;, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;ale może wskazywać na cokolwiek &lt;/ins&gt;(&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;na przykład jakąś większą strukturę&lt;/ins&gt;). &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Dzięki temu można odczytywać wartości nie mieszczące się w &lt;/ins&gt;32 &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;bitach&lt;/ins&gt;. &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Ponieważ metoda &lt;/ins&gt;''OM_GET()'' &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;nie ma pętli przeglądania [[Taglists|taglisty]]&lt;/ins&gt;, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;jej implementacja jest prosta&lt;/ins&gt;:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; IPTR MyClassGet(Class *cl, Object *obj, struct opGet *msg)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; IPTR MyClassGet(Class *cl, Object *obj, struct opGet *msg)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l18&quot; &gt;Line 18:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 18:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160;  switch (msg-&amp;gt;opg_AttrID)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160;  switch (msg-&amp;gt;opg_AttrID)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160;  {&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160;  {&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160;  case &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Some_Integer_Tag&lt;/del&gt;:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160;  case &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Tag_Liczbowy&lt;/ins&gt;:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;#160;  *msg-&amp;gt;opg_Storage = /* &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;value of the tag &lt;/del&gt;*/;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;#160;  *msg-&amp;gt;opg_Storage = /* &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;wartość atrybutu &lt;/ins&gt;*/;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160;  return TRUE;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160;  return TRUE;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160;  case &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Some_String_Tag&lt;/del&gt;:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160;  case &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Tag_Tekstowy&lt;/ins&gt;:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;#160;  *(char**)msg-&amp;gt;opg_Storage = &amp;quot;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;a fixed string value&lt;/del&gt;&amp;quot;;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;#160;  *(char**)msg-&amp;gt;opg_Storage = &amp;quot;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;stały tekst&lt;/ins&gt;&amp;quot;;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160;  return TRUE;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160;  return TRUE;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160;  }&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160;  }&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l30&quot; &gt;Line 30:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 30:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; }&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; }&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;The implementation consists of a &lt;/del&gt;''&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;switch&lt;/del&gt;'' &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;statement with &lt;/del&gt;''&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;cases&lt;/del&gt;'' &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;for all recognized attributes&lt;/del&gt;. &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;If an attribute is recognized&lt;/del&gt;, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;the method should return &lt;/del&gt;''TRUE''. &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;It is very important&lt;/del&gt;, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;as &lt;/del&gt;[[&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Event Driven Programming&lt;/del&gt;, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Notifications&lt;/del&gt;#&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Notifications in &lt;/del&gt;MUI|&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;MUI notifications&lt;/del&gt;]] &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;rely on &lt;/del&gt;OM_GET() &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;and will not work on the attribute if ''TRUE&lt;/del&gt;'' &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;is not returned&lt;/del&gt;. &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Unknown attributes are passed to the superclass&lt;/del&gt;. &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;The &lt;/del&gt;''DoSuperMethodA()'' &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;call may be alternatively placed as the &lt;/del&gt;''default'' &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;clause of the &lt;/del&gt;''switch'' &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;statement&lt;/del&gt;. &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;It is important that &lt;/del&gt;''&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;msg-&amp;gt;opg_Storage&lt;/del&gt;'' &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;is &lt;/del&gt;'''&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;dereferenced&lt;/del&gt;''' &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;when storing the attribute value&lt;/del&gt;. &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;If the value type is not integer&lt;/del&gt;, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;a typecast is needed&lt;/del&gt;. &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;For a value type &lt;/del&gt;''T'', &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;the dereferencing combined with typecast is denoted as &lt;/del&gt;''*(T*)''.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Funkcja metody &lt;/ins&gt;''&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;OM_GET()&lt;/ins&gt;'' &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;składa się z wyrażenia &lt;/ins&gt;''&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;switch&lt;/ins&gt;'' &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;z przypadkami dla wszystkich rozpoznawanych atrybutów&lt;/ins&gt;. &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Jeżeli atrybut jest rozpoznany&lt;/ins&gt;, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;wynikiem funkcji powinna być wartość logiczna &lt;/ins&gt;''TRUE''. &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;To bardzo ważne&lt;/ins&gt;, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;ponieważ &lt;/ins&gt;[[&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Programowanie sterowane zdarzeniami&lt;/ins&gt;, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;notyfikacje&lt;/ins&gt;#&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Notyfikacje w &lt;/ins&gt;MUI|&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;notyfikacje&lt;/ins&gt;]] &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;nie będą działały na danym atrybucie jeżeli ''&lt;/ins&gt;OM_GET()'' &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;zwróci po prostu zero&lt;/ins&gt;. &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Nierozpoznane atrybuty są przekazywane do klasy nadrzędnej&lt;/ins&gt;. &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Wywołanie funkcji &lt;/ins&gt;''DoSuperMethodA()'' &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;może być alternatywnie umieszczone w przypadku &lt;/ins&gt;''default'' &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;wyrażenia &lt;/ins&gt;''switch''. &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Trzeba zwrócić uwagę na fakt, że przy zapisywaniu wartości atrybutu odwołujemy się do &lt;/ins&gt;'''&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;wartości wskazywanej&lt;/ins&gt;''' &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;przez &lt;/ins&gt;''&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;msg-&amp;gt;opg_Storage&lt;/ins&gt;''. &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Jeżeli typem wartości nie jest liczba całkowita&lt;/ins&gt;, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;niezbędne jest rzutowanie typu&lt;/ins&gt;. &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Dla wartości typu &lt;/ins&gt;''T'', &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;odwołanie się do niej wraz z rzutowaniem jest zapisywane w C jako &lt;/ins&gt;''*(T*)''.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Krashan</name></author>	</entry>

	<entry>
		<id>https://library.morph.zone/index.php?title=Przeci%C4%85%C5%BCanie_metody_OM_GET()&amp;diff=1209&amp;oldid=prev</id>
		<title>Krashan: Translation in progress.</title>
		<link rel="alternate" type="text/html" href="https://library.morph.zone/index.php?title=Przeci%C4%85%C5%BCanie_metody_OM_GET()&amp;diff=1209&amp;oldid=prev"/>
				<updated>2011-01-26T08:15:20Z</updated>
		
		<summary type="html">&lt;p&gt;Translation in progress.&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 08:15, 26 January 2011&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l3&quot; &gt;Line 3:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 3:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;small&amp;gt;Ten artykuł w innych językach: [[Overriding OM_GET()|angielski]]&amp;lt;/small&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;small&amp;gt;Ten artykuł w innych językach: [[Overriding OM_GET()|angielski]]&amp;lt;/small&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Metoda &lt;/ins&gt;''OM_GET()'' &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;służy do odczytywania wartości atrybutu obiektu. Otrzymuje strukturę ''&lt;/ins&gt;opGet&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'' jako strukturę parametrów&lt;/ins&gt;. &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Struktura ''opGet'' jest zdefiniowana w pliku nagłówkowym &lt;/ins&gt;''&amp;lt;intuition/classusr.h&amp;gt;'':&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;The &lt;/del&gt;''OM_GET()'' &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;method, used for getting an attribute from an object, receives an &lt;/del&gt;opGet &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;structure as its message&lt;/del&gt;. &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;The structure is defined in the &lt;/del&gt;''&amp;lt;intuition/classusr.h&amp;gt;'' &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;header file&lt;/del&gt;:&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; struct opGet&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; struct opGet&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; {&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; {&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160;  ULONG&amp;#160; MethodID;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;  /* &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;always &lt;/del&gt;OM_GET (0x104) */&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160;  ULONG&amp;#160; MethodID;&amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160;  /* &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;zawsze &lt;/ins&gt;OM_GET (0x104) */&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160;  ULONG&amp;#160; opg_AttrID;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160;  ULONG&amp;#160; opg_AttrID;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160;  ULONG *opg_Storage;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160;  ULONG *opg_Storage;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Krashan</name></author>	</entry>

	<entry>
		<id>https://library.morph.zone/index.php?title=Przeci%C4%85%C5%BCanie_metody_OM_GET()&amp;diff=1207&amp;oldid=prev</id>
		<title>Krashan: Translation started.</title>
		<link rel="alternate" type="text/html" href="https://library.morph.zone/index.php?title=Przeci%C4%85%C5%BCanie_metody_OM_GET()&amp;diff=1207&amp;oldid=prev"/>
				<updated>2011-01-26T08:10:38Z</updated>
		
		<summary type="html">&lt;p&gt;Translation started.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;''Grzegorz Kraszewski''&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;small&amp;gt;Ten artykuł w innych językach: [[Overriding OM_GET()|angielski]]&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The ''OM_GET()'' method, used for getting an attribute from an object, receives an opGet structure as its message. The structure is defined in the ''&amp;lt;intuition/classusr.h&amp;gt;'' header file:&lt;br /&gt;
&lt;br /&gt;
 struct opGet&lt;br /&gt;
 {&lt;br /&gt;
   ULONG  MethodID;           /* always OM_GET (0x104) */&lt;br /&gt;
   ULONG  opg_AttrID;&lt;br /&gt;
   ULONG *opg_Storage;&lt;br /&gt;
 };&lt;br /&gt;
&lt;br /&gt;
Unlike ''[[Overriding OM_SET()|OM_SET()]]'', this method handles only one attribute at a time. The attribute is placed in the ''opg_AttrID'' field. The field ''opg_Storage'' is a '''pointer''' to a place where the attribute value should be stored. It is defined as a pointer to ULONG, but it may point to anything (for example to some larger structure). It allows for passing attributes not fitting in a 32-bit variable. Because ''OM_GET()'' does not have a taglist iteration loop, its implementation is simple:&lt;br /&gt;
&lt;br /&gt;
 IPTR MyClassGet(Class *cl, Object *obj, struct opGet *msg)&lt;br /&gt;
 {&lt;br /&gt;
   switch (msg-&amp;gt;opg_AttrID)&lt;br /&gt;
   {&lt;br /&gt;
     case Some_Integer_Tag:&lt;br /&gt;
       *msg-&amp;gt;opg_Storage = /* value of the tag */;&lt;br /&gt;
     return TRUE;&lt;br /&gt;
 &lt;br /&gt;
     case Some_String_Tag:&lt;br /&gt;
       *(char**)msg-&amp;gt;opg_Storage = &amp;quot;a fixed string value&amp;quot;;&lt;br /&gt;
     return TRUE;&lt;br /&gt;
   }&lt;br /&gt;
 &lt;br /&gt;
   return DoSuperMethodA(cl, obj, (Msg)msg);&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
The implementation consists of a ''switch'' statement with ''cases'' for all recognized attributes. If an attribute is recognized, the method should return ''TRUE''. It is very important, as [[Event Driven Programming, Notifications#Notifications in MUI|MUI notifications]] rely on OM_GET() and will not work on the attribute if ''TRUE'' is not returned. Unknown attributes are passed to the superclass. The ''DoSuperMethodA()'' call may be alternatively placed as the ''default'' clause of the ''switch'' statement. It is important that ''msg-&amp;gt;opg_Storage'' is '''dereferenced''' when storing the attribute value. If the value type is not integer, a typecast is needed. For a value type ''T'', the dereferencing combined with typecast is denoted as ''*(T*)''.&lt;/div&gt;</summary>
		<author><name>Krashan</name></author>	</entry>

	</feed>