---
layout: default-layout
title: class CCodeType - Dynamsoft Code Parser C++ Edition API Reference
description: This page shows the C++ edition of the class CCodeType in Dynamsoft Code Parser Module.
keywords: code type, c++
---

# CCodeType

The `CCodeType` class enumerates all supported code type strings.

## Definition

*Namespace:* dynamsoft::dcp

*Assembly:* DynamsoftCodeParser

```cpp
class CCodeType 
{
public:
    static const char*  CT_MRTD_TD1_ID; // The code type string is "MRTD_TD1_ID",
    static const char*  CT_MRTD_TD2_ID; // The code type string is "MRTD_TD2_ID",
    static const char*  CT_MRTD_TD2_VISA; // The code type string is "MRTD_TD2_VISA",
    static const char*  CT_MRTD_TD3_PASSPORT; // The code type string is "MRTD_TD3_PASSPORT",
    static const char*  CT_MRTD_TD3_VISA; // The code type string is "MRTD_TD3_VISA",
    static const char*  CT_MRTD_TD2_FRENCH_ID; // The code type string is "MRTD_TD2_FRENCH_ID",
    static const char*  CT_AAMVA_DL_ID; // The code type string is "AAMVA_DL_ID",
    static const char*  CT_AAMVA_DL_ID_WITH_MAG_STRIPE; // The code type string is "AAMVA_DL_ID_WITH_MAG_STRIPE",
    static const char*  CT_SOUTH_AFRICA_DL; // The code type string is "SOUTH_AFRICA_DL",
    static const char*  CT_AADHAAR; // The code type string is "AADHAAR",
    static const char*  CT_VIN; // The code type string is "VIN",
    static const char*  CT_GS1_AI; // The code type string is "GS1_AI",
};
```
