• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

programming language


Commit MetaInfo

Révisiona6cf0778d787a2a4d371003a02a38b85d7e4391f (tree)
l'heure2020-11-23 20:20:01
Auteurdhrname <dhrname@user...>
Commiterdhrname

Message de Log

Add getValue methdo

Change Summary

Modification

--- a/main.cpp
+++ b/main.cpp
@@ -372,6 +372,22 @@ public:
372372 valueType(typeid(T))
373373 {}
374374
375+ bool isCaseOf(const type_info id)
376+ {
377+ if (valueType == id)
378+ {
379+ return true;
380+ }
381+ else
382+ {
383+ return false;
384+ }
385+ }
386+
387+ T& getValue()
388+ {
389+ return nodeValue;
390+ }
375391 };
376392
377393 int main(int argc, char **argv)