Κλάση System::DefaultBoxedValue
περιεχόμενα
[
κρύβω
]DefaultBoxedValue class
BoxedValue class implementation. Allows it BoxingValue specializations to be declared without duplicating common code. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.
template<class T>class DefaultBoxedValue : public System::Object
Μέθοδοι
| Μέθοδος | Περιγραφή |
|---|---|
| DefaultBoxedValue(const T&) | Δημιουργεί ένα νέο στιγμιότυπο της κλάσης DefaultBoxedValue που αντιπροσωπεύει την καθορισμένη τιμή. |
| Equals(ptr) override | Καθορίζει την ισότητα των συσκευασμένων τιμών που αντιπροσωπεύονται από το τρέχον και το συγκεκριμένο αντικείμενο. |
| GetHashCode() const override | Επιστρέφει έναν κωδικό κατακερματισμού για το τρέχον αντικείμενο. |
| GetType() const override | Λαμβάνει τον πραγματικό τύπο του αντικειμένου. |
| is() const | Καθορίζει εάν ο τύπος της συσκευασμένης τιμής που αντιπροσωπεύεται από το τρέχον αντικείμενο είναι V. |
| ToString() const override | Επιστρέφει την αναπαράσταση κειμένου της συσκευασμένης τιμής. |
| unbox() const | Αποσυσκευάζει τη συσκευασμένη τιμή. |
Δείτε επίσης
- Class Object
- Namespace System
- Library Aspose.Page for C++