当前位置: 首页>>代码示例>>C++>>正文


C++ uSStrong::SetLiterals方法代码示例

本文整理汇总了C++中uSStrong::SetLiterals方法的典型用法代码示例。如果您正苦于以下问题:C++ uSStrong::SetLiterals方法的具体用法?C++ uSStrong::SetLiterals怎么用?C++ uSStrong::SetLiterals使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在uSStrong的用法示例。


在下文中一共展示了uSStrong::SetLiterals方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。

示例1: UIControlEvents_typeof

// public enum UIControlEvents :9638
uEnumType* UIControlEvents_typeof()
{
    static uSStrong<uEnumType*> type;
    if (type != NULL) return type;

    type = uEnumType::New("iOS.UIKit.UIControlEvents", ::g::Uno::UInt_typeof(), 19);
    type->SetLiterals(
        "UIControlEventTouchDown", 1LL,
        "UIControlEventTouchDownRepeat", 2LL,
        "UIControlEventTouchDragInside", 4LL,
        "UIControlEventTouchDragOutside", 8LL,
        "UIControlEventTouchDragEnter", 16LL,
        "UIControlEventTouchDragExit", 32LL,
        "UIControlEventTouchUpInside", 64LL,
        "UIControlEventTouchUpOutside", 128LL,
        "UIControlEventTouchCancel", 256LL,
        "UIControlEventValueChanged", 4096LL,
        "UIControlEventEditingDidBegin", 65536LL,
        "UIControlEventEditingChanged", 131072LL,
        "UIControlEventEditingDidEnd", 262144LL,
        "UIControlEventEditingDidEndOnExit", 524288LL,
        "UIControlEventAllTouchEvents", 4095LL,
        "UIControlEventAllEditingEvents", 983040LL,
        "UIControlEventApplicationReserved", 251658240LL,
        "UIControlEventSystemReserved", 4026531840LL,
        "UIControlEventAllEvents", 4294967295LL);
    return type;
}
开发者ID:ie-ModelingAndDesign,项目名称:2015-B,代码行数:29,代码来源:iOS.UIKit.g.cpp

示例2: ProtocolType_typeof

// public enum ProtocolType :615
uEnumType* ProtocolType_typeof()
{
    static uSStrong<uEnumType*> type;
    if (type != NULL) return type;

    type = uEnumType::New("Uno.Net.Sockets.ProtocolType", ::g::Uno::Int_typeof(), 1);
    type->SetLiterals(
        "Tcp", 6LL);
    return type;
}
开发者ID:brapastor,项目名称:Fuse_Pract,代码行数:11,代码来源:Uno.Net.Sockets.g.cpp

示例3: AddressFamily_typeof

// public enum AddressFamily :603
uEnumType* AddressFamily_typeof()
{
    static uSStrong<uEnumType*> type;
    if (type != NULL) return type;

    type = uEnumType::New("Uno.Net.Sockets.AddressFamily", ::g::Uno::Int_typeof(), 1);
    type->SetLiterals(
        "InterNetwork", 2LL);
    return type;
}
开发者ID:brapastor,项目名称:Fuse_Pract,代码行数:11,代码来源:Uno.Net.Sockets.g.cpp

示例4: SocketType_typeof

// public enum SocketType :609
uEnumType* SocketType_typeof()
{
    static uSStrong<uEnumType*> type;
    if (type != NULL) return type;

    type = uEnumType::New("Uno.Net.Sockets.SocketType", ::g::Uno::Int_typeof(), 1);
    type->SetLiterals(
        "Stream", 1LL);
    return type;
}
开发者ID:brapastor,项目名称:Fuse_Pract,代码行数:11,代码来源:Uno.Net.Sockets.g.cpp

示例5: UITextStorageDirection_typeof

// public enum UITextStorageDirection :11125
uEnumType* UITextStorageDirection_typeof()
{
    static uSStrong<uEnumType*> type;
    if (type != NULL) return type;

    type = uEnumType::New("iOS.UIKit.UITextStorageDirection", ::g::Uno::Int_typeof(), 2);
    type->SetLiterals(
        "UITextStorageDirectionForward", 0LL,
        "UITextStorageDirectionBackward", 1LL);
    return type;
}
开发者ID:ie-ModelingAndDesign,项目名称:2015-B,代码行数:12,代码来源:iOS.UIKit.g.cpp

示例6: StatusBarStyle_typeof

// public enum StatusBarStyle :301
uEnumType* StatusBarStyle_typeof()
{
    static uSStrong<uEnumType*> type;
    if (type != NULL) return type;

    type = uEnumType::New("Uno.Platform.iOS.StatusBarStyle", ::g::Uno::Int_typeof(), 2);
    type->SetLiterals(
        "Dark", 0LL,
        "Light", 1LL);
    return type;
}
开发者ID:marcosaguileraely,项目名称:Thermal-2,代码行数:12,代码来源:Uno.Platform.iOS.g.cpp

示例7: StatusBarAnimation_typeof

// public enum StatusBarAnimation :307
uEnumType* StatusBarAnimation_typeof()
{
    static uSStrong<uEnumType*> type;
    if (type != NULL) return type;

    type = uEnumType::New("Uno.Platform.iOS.StatusBarAnimation", ::g::Uno::Int_typeof(), 3);
    type->SetLiterals(
        "None", 0LL,
        "Fade", 1LL,
        "Slide", 2LL);
    return type;
}
开发者ID:marcosaguileraely,项目名称:Thermal-2,代码行数:13,代码来源:Uno.Platform.iOS.g.cpp

示例8: CLRegionState_typeof

// public enum CLRegionState :2910
uEnumType* CLRegionState_typeof()
{
    static uSStrong<uEnumType*> type;
    if (type != NULL) return type;

    type = uEnumType::New("iOS.CoreLocation.CLRegionState", ::g::Uno::Int_typeof(), 3);
    type->SetLiterals(
        "CLRegionStateUnknown", 0LL,
        "CLRegionStateInside", 1LL,
        "CLRegionStateOutside", 2LL);
    return type;
}
开发者ID:ie-ModelingAndDesign,项目名称:2015-B,代码行数:13,代码来源:iOS.CoreLocation.g.cpp

示例9: TouchAction_typeof

// internal enum TouchAction :12
uEnumType* TouchAction_typeof()
{
    static uSStrong<uEnumType*> type;
    if (type != NULL) return type;

    type = uEnumType::New("Fuse.Android.Controls.TouchAction", ::g::Uno::Int_typeof(), 3);
    type->SetLiterals(
        "DOWN", 0LL,
        "UP", 1LL,
        "MOVE", 2LL);
    return type;
}
开发者ID:thegreatyuke42,项目名称:fuse-test,代码行数:13,代码来源:Fuse.Android.Controls.g.cpp

示例10: SocketShutdown_typeof

// public enum SocketShutdown :629
uEnumType* SocketShutdown_typeof()
{
    static uSStrong<uEnumType*> type;
    if (type != NULL) return type;

    type = uEnumType::New("Uno.Net.Sockets.SocketShutdown", ::g::Uno::Int_typeof(), 3);
    type->SetLiterals(
        "Receive", 0LL,
        "Send", 1LL,
        "Both", 2LL);
    return type;
}
开发者ID:brapastor,项目名称:Fuse_Pract,代码行数:13,代码来源:Uno.Net.Sockets.g.cpp

示例11: SelectMode_typeof

// public enum SelectMode :621
uEnumType* SelectMode_typeof()
{
    static uSStrong<uEnumType*> type;
    if (type != NULL) return type;

    type = uEnumType::New("Uno.Net.Sockets.SelectMode", ::g::Uno::Int_typeof(), 3);
    type->SetLiterals(
        "Read", 0LL,
        "Write", 1LL,
        "Error", 2LL);
    return type;
}
开发者ID:brapastor,项目名称:Fuse_Pract,代码行数:13,代码来源:Uno.Net.Sockets.g.cpp

示例12: UIImagePickerControllerSourceType_typeof

// public enum UIImagePickerControllerSourceType :10040
uEnumType* UIImagePickerControllerSourceType_typeof()
{
    static uSStrong<uEnumType*> type;
    if (type != NULL) return type;

    type = uEnumType::New("iOS.UIKit.UIImagePickerControllerSourceType", ::g::Uno::Int_typeof(), 3);
    type->SetLiterals(
        "UIImagePickerControllerSourceTypePhotoLibrary", 0LL,
        "UIImagePickerControllerSourceTypeCamera", 1LL,
        "UIImagePickerControllerSourceTypeSavedPhotosAlbum", 2LL);
    return type;
}
开发者ID:ie-ModelingAndDesign,项目名称:2015-B,代码行数:13,代码来源:iOS.UIKit.g.cpp

示例13: UITextWritingDirection_typeof

// public enum UITextWritingDirection :11140
uEnumType* UITextWritingDirection_typeof()
{
    static uSStrong<uEnumType*> type;
    if (type != NULL) return type;

    type = uEnumType::New("iOS.UIKit.UITextWritingDirection", ::g::Uno::Int_typeof(), 3);
    type->SetLiterals(
        "UITextWritingDirectionNatural", -1LL,
        "UITextWritingDirectionLeftToRight", 0LL,
        "UITextWritingDirectionRightToLeft", 1LL);
    return type;
}
开发者ID:ie-ModelingAndDesign,项目名称:2015-B,代码行数:13,代码来源:iOS.UIKit.g.cpp

示例14: EAGLRenderingAPI_typeof

// public enum EAGLRenderingAPI :3641
uEnumType* EAGLRenderingAPI_typeof()
{
    static uSStrong<uEnumType*> type;
    if (type != NULL) return type;

    type = uEnumType::New("iOS.OpenGLES.EAGLRenderingAPI", ::g::Uno::UInt_typeof(), 3);
    type->SetLiterals(
        "kEAGLRenderingAPIOpenGLES1", 1LL,
        "kEAGLRenderingAPIOpenGLES2", 2LL,
        "kEAGLRenderingAPIOpenGLES3", 3LL);
    return type;
}
开发者ID:ie-ModelingAndDesign,项目名称:2015-B,代码行数:13,代码来源:iOS.OpenGLES.g.cpp

示例15: UITextSpellCheckingType_typeof

// public enum UITextSpellCheckingType :11109
uEnumType* UITextSpellCheckingType_typeof()
{
    static uSStrong<uEnumType*> type;
    if (type != NULL) return type;

    type = uEnumType::New("iOS.UIKit.UITextSpellCheckingType", ::g::Uno::Int_typeof(), 3);
    type->SetLiterals(
        "UITextSpellCheckingTypeDefault", 0LL,
        "UITextSpellCheckingTypeNo", 1LL,
        "UITextSpellCheckingTypeYes", 2LL);
    return type;
}
开发者ID:ie-ModelingAndDesign,项目名称:2015-B,代码行数:13,代码来源:iOS.UIKit.g.cpp


注:本文中的uSStrong::SetLiterals方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。