Aspose::BarCode::ComplexBarcode::MailmarkCodetext Class Referencefinal

Class for encoding and decoding the text embedded in the 4-state Royal Mailmark code. More...

Inherits Aspose::BarCode::ComplexBarcode::IComplexCodetext.

Public Member Functions

int32_t get_Format () const
 "0" – Null or Test "1" – Letter "2" – Large Letter More...
 
void set_Format (int32_t value)
 "0" – Null or Test "1" – Letter "2" – Large Letter More...
 
int32_t get_VersionID () const
 Currently "1" – For Mailmark barcode (0 and 2 to 9 and A to Z spare for future use) More...
 
void set_VersionID (int32_t value)
 Currently "1" – For Mailmark barcode (0 and 2 to 9 and A to Z spare for future use) More...
 
System::String get_Class () const
 "0" - Null or Test "1" - 1C (Retail) "2" - 2C (Retail) "3" - 3C (Retail) "4" - Premium (RetailPublishing Mail) (for potential future use) "5" - Deferred (Retail) "6" - Air (Retail) (for potential future use) "7" - Surface (Retail) (for potential future use) "8" - Premium (Network Access) "9" - Standard (Network Access) More...
 
void set_Class (System::String value)
 "0" - Null or Test "1" - 1C (Retail) "2" - 2C (Retail) "3" - 3C (Retail) "4" - Premium (RetailPublishing Mail) (for potential future use) "5" - Deferred (Retail) "6" - Air (Retail) (for potential future use) "7" - Surface (Retail) (for potential future use) "8" - Premium (Network Access) "9" - Standard (Network Access) More...
 
int32_t get_SupplychainID () const
 Maximum values are 99 for Barcode C and 999999 for Barcode L. More...
 
void set_SupplychainID (int32_t value)
 Maximum values are 99 for Barcode C and 999999 for Barcode L. More...
 
int32_t get_ItemID () const
 Maximum value is 99999999. More...
 
void set_ItemID (int32_t value)
 Maximum value is 99999999. More...
 
System::String get_DestinationPostCodePlusDPS () const
 The PC and DP must comply with a PAF format. Nine character string denoting international "XY11 " (note the 5 trailing spaces) or a pattern of characters denoting a domestic sorting code. A domestic sorting code consists of an outward postcode, an inward postcode, and a Delivery Point Suffix. More...
 
void set_DestinationPostCodePlusDPS (System::String value)
 The PC and DP must comply with a PAF format. Nine character string denoting international "XY11 " (note the 5 trailing spaces) or a pattern of characters denoting a domestic sorting code. A domestic sorting code consists of an outward postcode, an inward postcode, and a Delivery Point Suffix. More...
 
 MailmarkCodetext ()
 Initializes a new instance of the MailmarkCodetext class. More...
 
System::String GetConstructedCodetext () override
 Construct codetext from Mailmark data. More...
 
void InitFromString (System::String constructedCodetext) override
 Initializes Mailmark data from constructed codetext. More...
 
System::SharedPtr< Aspose::BarCode::Generation::BaseEncodeTypeGetBarcodeType () override
 Gets barcode type. More...
 
- Public Member Functions inherited from System::Object
ASPOSECPP_SHARED_API Object ()
 Creates object. Initializes all internal data structures. More...
 
virtual ASPOSECPP_SHARED_API ~Object ()
 Destroys object. Frees all internal data structures. More...
 
ASPOSECPP_SHARED_API Object (Object const &x)
 Copy constructor. Doesn't copy anything, really, just initializes new object and enables copy constructing subclasses. More...
 
Objectoperator= (Object const &x)
 Assignment operator. Doesn't copy anything, really, just initializes new object and enables copy constructing subclasses. More...
 
ObjectSharedRefAdded ()
 Increments shared reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
int SharedRefRemovedSafe ()
 Decrements and returns shared reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
int RemovedSharedRefs (int count)
 Decreases shared reference count by specified value. More...
 
Detail::SmartPtrCounter * WeakRefAdded ()
 Increments weak reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
void WeakRefRemoved ()
 Decrements weak reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
Detail::SmartPtrCounter * GetCounter ()
 Gets reference counter data structure associated with the object. More...
 
int SharedCount () const
 Gets current value of shared reference counter. More...
 
ASPOSECPP_SHARED_API void Lock ()
 Implements C# lock() statement locking. Call directly or use LockContext sentry object. More...
 
ASPOSECPP_SHARED_API void Unlock ()
 Implements C# lock() statement unlocking. Call directly or use LockContext sentry object. More...
 
virtual ASPOSECPP_SHARED_API bool Equals (ptr obj)
 Compares objects using C# Object.Equals semantics. More...
 
virtual ASPOSECPP_SHARED_API int32_t GetHashCode () const
 Analog of C# Object.GetHashCode() method. Enables hashing of custom objects. More...
 
virtual ASPOSECPP_SHARED_API String ToString () const
 Analog of C# Object.ToString() method. Enables converting custom objects to string. More...
 
virtual ASPOSECPP_SHARED_API ptr MemberwiseClone () const
 Analog of C# Object.MemberwiseClone() method. Enables cloning custom types. More...
 
virtual ASPOSECPP_SHARED_API const TypeInfoGetType () const
 Gets actual type of object. Analog of C# System.Object.GetType() call. More...
 
virtual ASPOSECPP_SHARED_API bool Is (const TypeInfo &targetType) const
 Check if object represents an instance of type described by targetType. Analog of C# 'is' operator. More...
 
virtual ASPOSECPP_SHARED_API void SetTemplateWeakPtr (uint32_t argument)
 Set n'th template argument a weak pointer (rather than shared). Allows switching pointers in containers to weak mode. More...
 
virtual ASPOSECPP_SHARED_API bool FastCast (const Details::FastRttiBase &helper, void **out_ptr) const
 For internal purposes only. More...
 
template<>
bool Equals (float const &objA, float const &objB)
 
template<>
bool Equals (double const &objA, double const &objB)
 
template<>
bool ReferenceEquals (String const &str, std::nullptr_t)
 
template<>
bool ReferenceEquals (String const &str1, String const &str2)
 

Additional Inherited Members

- Public Types inherited from System::Object
typedef SmartPtr< Objectptr
 Alias for smart pointer type. More...
 
- Static Public Member Functions inherited from System::Object
static bool ReferenceEquals (ptr const &objA, ptr const &objB)
 Compares objects by reference. More...
 
template<typename T >
static std::enable_if<!IsSmartPtr< T >::value, bool >::type ReferenceEquals (T const &objA, T const &objB)
 Compares objects by reference. More...
 
template<typename T >
static std::enable_if<!IsSmartPtr< T >::value, bool >::type ReferenceEquals (T const &objA, std::nullptr_t)
 Reference-compares value type object with nullptr. More...
 
template<typename T1 , typename T2 >
static std::enable_if< IsSmartPtr< T1 >::value &&IsSmartPtr< T2 >::value, bool >::type Equals (T1 const &objA, T2 const &objB)
 Compares reference type objects in C# style. More...
 
template<typename T1 , typename T2 >
static std::enable_if<!IsSmartPtr< T1 >::value &&!IsSmartPtr< T2 >::value, bool >::type Equals (T1 const &objA, T2 const &objB)
 Compares value type objects in C# style. More...
 
static const TypeInfoType ()
 Implements C# typeof(System.Object) construct. More...
 

Detailed Description

Class for encoding and decoding the text embedded in the 4-state Royal Mailmark code.

Constructor & Destructor Documentation

◆ MailmarkCodetext()

Aspose::BarCode::ComplexBarcode::MailmarkCodetext::MailmarkCodetext ( )

Initializes a new instance of the MailmarkCodetext class.

Member Function Documentation

◆ get_Class()

System::String Aspose::BarCode::ComplexBarcode::MailmarkCodetext::get_Class ( ) const

"0" - Null or Test "1" - 1C (Retail) "2" - 2C (Retail) "3" - 3C (Retail) "4" - Premium (RetailPublishing Mail) (for potential future use) "5" - Deferred (Retail) "6" - Air (Retail) (for potential future use) "7" - Surface (Retail) (for potential future use) "8" - Premium (Network Access) "9" - Standard (Network Access)

◆ get_DestinationPostCodePlusDPS()

System::String Aspose::BarCode::ComplexBarcode::MailmarkCodetext::get_DestinationPostCodePlusDPS ( ) const

The PC and DP must comply with a PAF format. Nine character string denoting international "XY11 " (note the 5 trailing spaces) or a pattern of characters denoting a domestic sorting code. A domestic sorting code consists of an outward postcode, an inward postcode, and a Delivery Point Suffix.

◆ get_Format()

int32_t Aspose::BarCode::ComplexBarcode::MailmarkCodetext::get_Format ( ) const

"0" – Null or Test "1" – Letter "2" – Large Letter

◆ get_ItemID()

int32_t Aspose::BarCode::ComplexBarcode::MailmarkCodetext::get_ItemID ( ) const

Maximum value is 99999999.

◆ get_SupplychainID()

int32_t Aspose::BarCode::ComplexBarcode::MailmarkCodetext::get_SupplychainID ( ) const

Maximum values are 99 for Barcode C and 999999 for Barcode L.

◆ get_VersionID()

int32_t Aspose::BarCode::ComplexBarcode::MailmarkCodetext::get_VersionID ( ) const

Currently "1" – For Mailmark barcode (0 and 2 to 9 and A to Z spare for future use)

◆ GetBarcodeType()

System::SharedPtr<Aspose::BarCode::Generation::BaseEncodeType> Aspose::BarCode::ComplexBarcode::MailmarkCodetext::GetBarcodeType ( )
overridevirtual

Gets barcode type.

Returns
Barcode type.

Implements Aspose::BarCode::ComplexBarcode::IComplexCodetext.

◆ GetConstructedCodetext()

System::String Aspose::BarCode::ComplexBarcode::MailmarkCodetext::GetConstructedCodetext ( )
overridevirtual

Construct codetext from Mailmark data.

Returns
Constructed codetext

Implements Aspose::BarCode::ComplexBarcode::IComplexCodetext.

◆ InitFromString()

void Aspose::BarCode::ComplexBarcode::MailmarkCodetext::InitFromString ( System::String  constructedCodetext)
overridevirtual

Initializes Mailmark data from constructed codetext.

Parameters
constructedCodetextConstructed codetext.

Implements Aspose::BarCode::ComplexBarcode::IComplexCodetext.

◆ set_Class()

void Aspose::BarCode::ComplexBarcode::MailmarkCodetext::set_Class ( System::String  value)

"0" - Null or Test "1" - 1C (Retail) "2" - 2C (Retail) "3" - 3C (Retail) "4" - Premium (RetailPublishing Mail) (for potential future use) "5" - Deferred (Retail) "6" - Air (Retail) (for potential future use) "7" - Surface (Retail) (for potential future use) "8" - Premium (Network Access) "9" - Standard (Network Access)

◆ set_DestinationPostCodePlusDPS()

void Aspose::BarCode::ComplexBarcode::MailmarkCodetext::set_DestinationPostCodePlusDPS ( System::String  value)

The PC and DP must comply with a PAF format. Nine character string denoting international "XY11 " (note the 5 trailing spaces) or a pattern of characters denoting a domestic sorting code. A domestic sorting code consists of an outward postcode, an inward postcode, and a Delivery Point Suffix.

◆ set_Format()

void Aspose::BarCode::ComplexBarcode::MailmarkCodetext::set_Format ( int32_t  value)

"0" – Null or Test "1" – Letter "2" – Large Letter

◆ set_ItemID()

void Aspose::BarCode::ComplexBarcode::MailmarkCodetext::set_ItemID ( int32_t  value)

Maximum value is 99999999.

◆ set_SupplychainID()

void Aspose::BarCode::ComplexBarcode::MailmarkCodetext::set_SupplychainID ( int32_t  value)

Maximum values are 99 for Barcode C and 999999 for Barcode L.

◆ set_VersionID()

void Aspose::BarCode::ComplexBarcode::MailmarkCodetext::set_VersionID ( int32_t  value)

Currently "1" – For Mailmark barcode (0 and 2 to 9 and A to Z spare for future use)