RTI Connext .Net APIs  Version 5.3.0

Instantiates DDS::Sequence < System::Char* > More...

#include <managed_infrastructure.h>

Inheritance diagram for DDS::WstringSeq:
DDS::Sequence< System::String^>

Public Member Functions

 WstringSeq ()
 Constructs an empty sequence of wide strings with an initial maximum of zero. More...
 
 WstringSeq (System::Int32 max)
 Constructs an empty sequence of wide strings with the given initial maximum. More...
 
 WstringSeq (WstringSeq^ strings)
 Constructs a new sequence containing the given wide strings. More...
 
- Public Member Functions inherited from DDS::Sequence< System::String^>
System::Boolean ensure_length (System::Int32 length, System::Int32 max)
 Set the sequence to the desired length, and resize the sequence if necessary. More...
 
virtual System::String^ get_at (System::Int32 i)
 Get the i-th element for a const sequence. More...
 
virtual void set_at (System::Int32 i, System::String^ val)
 Set the i-th element of the sequence. More...
 
void loan (array< System::String^ >^ buffer, System::Int32 new_length)
 Loan a contiguous buffer to this sequence. More...
 
virtual void unloan ()
 Return the loaned buffer in the sequence and set the maximum to 0. More...
 
void from_array (array< System::String^ >^ arr)
 Copy elements from an array of elements, resizing the sequence if necessary. The original contents of the sequence (if any) are replaced. More...
 
void to_array (array< System::String^ >^ arr)
 Copy elements to an array of elements. The original contents of the array (if any) are replaced. More...
 
System::Boolean copy_from (Sequence< System::String^ >^ src_seq)
 Copy elements from another sequence, resizing the sequence if necessary. More...
 
virtual System::Boolean copy_from_no_alloc (Sequence< System::String^ >^ src_seq)
 Copy elements from another sequence, only if the destination sequence has enough capacity. More...
 

Additional Inherited Members

- Properties inherited from DDS::Sequence< System::String^>
System::Int32 length [get, set]
 The logical length of this sequence. More...
 
virtual System::Int32 maximum [get, set]
 The current maximum number of elements that can be stored in this sequence. More...
 
array< System::String^ >^ buffer [get]
 Return the contiguous buffer of the sequence. More...
 
System::Boolean has_ownership [get]
 Return the value of the owned flag. More...
 

Detailed Description

Instantiates DDS::Sequence < System::Char* >

Instantiates:
<<generic>> DDS::Sequence
See also
System::Char
DDS::StringSeq
DDS::Sequence

Constructor & Destructor Documentation

◆ WstringSeq() [1/3]

DDS::WstringSeq::WstringSeq ( )
inline

Constructs an empty sequence of wide strings with an initial maximum of zero.

◆ WstringSeq() [2/3]

DDS::WstringSeq::WstringSeq ( System::Int32  max)
inline

Constructs an empty sequence of wide strings with the given initial maximum.

◆ WstringSeq() [3/3]

DDS::WstringSeq::WstringSeq ( WstringSeq strings)
inline

Constructs a new sequence containing the given wide strings.

Parameters
stringsthe initial contents of this sequence

RTI Connext .Net APIs Version 5.3.0 Copyright © Sun Jun 25 2017 Real-Time Innovations, Inc