Liquid XML Data Binder 2020
Liquid XML Data Binding Wizard / Liquid XML Data Binder / Select Language Options for C++
In This Topic
    Select Language Options for C++
    In This Topic

    If your selected language is C++, the C++ options page displays the Language Properties that relate to C++ code generation.

    Default C++ Class Namespace

    This allows you to specify the C++ Namespace that all generated classes will form part. This also represents the name of the generated C++ project.

    Default Schema to Object Collection Mapping

    This allows you to select the manner in which properties and methods that reference Collections are generated.

    E.g. for the following XML:

    <person>
        <address/>
        <address/>
        <address/> 
    </person>
    

    where a <person> may contain many <address> elements:

    Use Original Name

    This option simply uses the element name from the XML Schema. E.g Person Class would have the method declaration:

    AddressCol GetAddress();
    

    Append 'Col' to Name

    This option appends 'Col' to the element name from the XML Schema. E.g Person Class would have the method declaration:

    AddressCol GetAddressCol();
    

    Pluralize Name

    This option attempts to pluralize the element name from the XML Schema using a lookup file 'pluralList.txt' that can be found in the [INSTALL DIR]\XMLDataBinder folder and can be manually extended to include your own terms. E.g The Person Class would have the method declaration:

    AddressCol GetAddresses();
    
    See Also