?? hand.h
字號:
// {{{RME classifier 'Logical View::CardDefinitions::Hand'#ifndef Hand_H#define Hand_H#ifdef PRAGMA#pragma interface "Hand.h"#endif#include <RTSystem/CardGameComponent.h>#include <CardList.h>class Card;// {{{RME tool 'OT::Cpp' property 'HeaderPreface'// {{{USR// }}}USR// }}}RMEextern const RTObject_class RTType_Hand;class Hand{public: // {{{RME tool 'OT::Cpp' property 'PublicDeclarations' // {{{USR // }}}USR // }}}RMEprotected: // {{{RME tool 'OT::Cpp' property 'ProtectedDeclarations' // {{{USR // }}}USR // }}}RMEprivate: // {{{RME tool 'OT::Cpp' property 'PrivateDeclarations' // {{{USR // }}}USR // }}}RMEprotected: // {{{RME associationEnd '_fivecards' CardList _fivecards; // }}}RMEpublic: // {{{RME tool 'OT::Cpp' property 'GenerateDefaultConstructor' Hand( void ); // }}}RME // {{{RME tool 'OT::Cpp' property 'GenerateDestructor' virtual ~Hand( void ); // }}}RME // {{{RME tool 'OT::Cpp' property 'GenerateCopyConstructor' Hand( const Hand & rtg_arg ); // }}}RME // {{{RME tool 'OT::Cpp' property 'GenerateAssignmentOperator' Hand & operator=( const Hand & rtg_arg ); // }}}RME // {{{RME operation 'add(const Card &,int)' int add( const Card & card, int index ); // }}}RME // {{{RME operation 'get(int)' Card & get( int index ); // }}}RME // {{{RME operation 'Hand(int)' Hand( int initial_size ); // }}}RME // {{{RME operation 'size()' int size( void ) const; // }}}RME // {{{RME operation 'value()' virtual int value( void ); // }}}RME static const RTFieldDescriptor rtg_Hand_fields[];};struct RTTypedValue_Hand{ const void * data; const RTObject_class * type; inline RTTypedValue_Hand( const Hand & rtg_value ) : data( &rtg_value ), type( &RTType_Hand ) { } inline RTTypedValue_Hand( const Hand & rtg_value, const RTObject_class * rtg_type ) : data( &rtg_value ), type( rtg_type ) { } inline ~RTTypedValue_Hand( void ) { }};// {{{RME tool 'OT::Cpp' property 'HeaderEnding'// {{{USR// }}}USR// }}}RME#endif /* Hand_H */// }}}RME
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -