| 1 | /*************************************************************************** |
| 2 | CMemberInfo.cpp - description |
| 3 | ------------------- |
| 4 | begin : January 1st, 2009 |
| 5 | copyright : (C) 2009 by Duong Khang NGUYEN |
| 6 | email : neoneurone @ gmail com |
| 7 | |
| 8 | $Id: CMemberInfo.cpp 449 2010-05-20 18:46:59Z neoneurone $ |
| 9 | ***************************************************************************/ |
| 10 | |
| 11 | /*************************************************************************** |
| 12 | * * |
| 13 | * This program is free software; you can redistribute it and/or modify * |
| 14 | * it under the terms of the GNU General Public License as published by * |
| 15 | * the Free Software Foundation; either version 2 of the License, or * |
| 16 | * any later version. * |
| 17 | * * |
| 18 | ***************************************************************************/ |
| 19 | |
| 20 | // Framework headers |
| 21 | #include "CMemberInfo.h" |
| 22 | |
| 23 | |
| 24 | SPF_NAMESPACE_NESTED_BEGIN(System, Reflection) |
| 25 | |
| 26 | |
| 27 | /*=====================================================================*/ |
| 28 | MemberInfo::MemberInfo() {} |
| 29 | |
| 30 | |
| 31 | MemberInfo::MemberInfo(const NullValue& null): System::Object(null) {} |
| 32 | |
| 33 | |
| 34 | MemberInfo::MemberInfo(const String& name) : msName(name) {} |
| 35 | |
| 36 | |
| 37 | MemberInfo::~MemberInfo() {} |
| 38 | |
| 39 | |
| 40 | /*=====================================================================*/ |
| 41 | const String& MemberInfo::GetName() const |
| 42 | { |
| 43 | return msName; |
| 44 | } |
| 45 | |
| 46 | |
| 47 | /*=====================================================================*/ |
| 48 | String MemberInfo::ToString() const |
| 49 | { |
| 50 | return String("System::Reflection::MemberInfo"); |
| 51 | } |
| 52 | |
| 53 | |
| 54 | SPF_NAMESPACE_NESTED_END |