diff options
author | srs5694 <srs5694@users.sourceforge.net> | 2010-09-22 10:50:24 -0400 |
---|---|---|
committer | srs5694 <srs5694@users.sourceforge.net> | 2010-09-22 10:50:24 -0400 |
commit | 82f3f0b529ec1bb936141ae41b03f95c72ce573a (patch) | |
tree | b6233ff63f89d536a0cdf38b95e3a7cfb974b6b5 /parttypes.h | |
parent | 327129e9331f888a8fc08d688dcb0a739a3c17be (diff) | |
download | sgdisk-82f3f0b529ec1bb936141ae41b03f95c72ce573a.tar.gz |
Further refinements to GUID type code entry.
Diffstat (limited to 'parttypes.h')
-rw-r--r-- | parttypes.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/parttypes.h b/parttypes.h index bff92c1..4d6e547 100644 --- a/parttypes.h +++ b/parttypes.h @@ -39,10 +39,12 @@ public: // Set up type information int AddType(uint16_t mbrType, const char * guidData, const char * name, int toDisplay = 1); + // New assignment operators.... + PartType & operator=(const string & orig); + PartType & operator=(const char * orig); + // Assignment operators based on base class.... GUIDData & operator=(const GUIDData & orig) {return GUIDData::operator=(orig);} - GUIDData & operator=(const string & orig) {return GUIDData::operator=(orig);} - GUIDData & operator=(const char * orig) {return GUIDData::operator=(orig);} // New data assignment PartType & operator=(uint16_t ID); // Use MBR type code times 0x0100 to assign GUID |