⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 deck.h

📁 含有uml的多个实例及实例的java源码。
💻 H
字号:
// {{{RME classifier 'Logical View::CardDefinitions::Deck'#ifndef Deck_H#define Deck_H#ifdef PRAGMA#pragma interface "Deck.h"#endif#include <RTSystem/CardGameComponent.h>#include <CardList.h>class Card;// {{{RME tool 'OT::Cpp' property 'HeaderPreface'// {{{USR#include <stdlib.h>#include <time.h>// }}}USR// }}}RMEextern const RTObject_class RTType_Deck;class Deck{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	// }}}RME	// {{{RME classAttribute '_top'	int _top;	// }}}RMEprotected:	// {{{RME associationEnd '_cards'	CardList _cards;	// }}}RMEpublic:	// {{{RME tool 'OT::Cpp' property 'GenerateDefaultConstructor'	Deck( void );	// }}}RME	// {{{RME tool 'OT::Cpp' property 'GenerateDestructor'	virtual ~Deck( void );	// }}}RME	// {{{RME tool 'OT::Cpp' property 'GenerateCopyConstructor'	Deck( const Deck & rtg_arg );	// }}}RME	// {{{RME tool 'OT::Cpp' property 'GenerateAssignmentOperator'	Deck & operator=( const Deck & rtg_arg );	// }}}RME	// {{{RME operation 'Deck(int)'	Deck( int initial_size );	// }}}RME	// {{{RME operation 'size()'	int size( void );	// }}}RME	// {{{RME operation 'init()'	void init( void );	// }}}RME	// {{{RME operation 'get(Card &)'	int get( Card & card );	// }}}RME	// {{{RME operation 'shuffle()'	void shuffle( void );	// }}}RME	static const RTFieldDescriptor rtg_Deck_fields[];};struct RTTypedValue_Deck{	const void * data;	const RTObject_class * type;	inline RTTypedValue_Deck( const Deck & rtg_value )		: data( &rtg_value ), type( &RTType_Deck )	{	}	inline RTTypedValue_Deck( const Deck & rtg_value, const RTObject_class * rtg_type )		: data( &rtg_value ), type( rtg_type )	{	}	inline ~RTTypedValue_Deck( void )	{	}};// {{{RME tool 'OT::Cpp' property 'HeaderEnding'// {{{USR// }}}USR// }}}RME#endif /* Deck_H */// }}}RME

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -