nuget server logo nuget api documents
↑

API Docs / REnv / RRawVectorArgumentAttribute

RRawVectorArgumentAttribute

Full name SMRUCC.Rsharp.Runtime.Interop.RRawVectorArgumentAttribute Assembly REnv Members 8

表示这个参数是一个数组,环境系统不应该自动调用getFirst取第一个值

00 Remarks

there are some string literal rule for the default vector string parser:

  1. 字符串类型默认使用|作为分隔符
  2. 数值类型默认使用,作为分隔符

01 Syntax

SMRUCC.Rsharp.Runtime.Interop.RRawVectorArgumentAttribute

02 Methods

NameOverloadsSummary
.ctor 3 construct a vector flag with any object type and use the DefaultVectorParser.
GetVector 1
ToString 1

03 Properties

NameOverloadsSummary
vector 1 The element type of the target vector type
parser 1
containsLiteral 1

04 Members

method .ctor overload 3 #
#ctor(Type, Type)

parser参数的默认值为DefaultVectorParser

Parameters
NameTypeDescription
vectorType

The element type of the target vector type

parserType

IVectorExpressionLiteral

use DefaultVectorParser by default.

method .ctor #
#ctor

construct a vector flag with any object type and use the DefaultVectorParser.

method .ctor overload 2 #
#ctor(TypeCodes, Type)
Parameters
NameTypeDescription
vectorTypeCodes

the vector element type

parserType

-

property vector #
vector

The element type of the target vector type

Remarks

If this property is not null, then it means the optional argument have a default string expression value which could be parsed as current vector type.

property parser #
parser
property containsLiteral #
containsLiteral
method GetVector #
GetVector(String)
method ToString #
ToString()