Instantiates DDS::Sequence < System::Char >  
 More...
#include <managed_infrastructure.h>
Public Member Functions | 
|   | WcharSeq () | 
|   | Constructs an empty sequence of wide characters with an initial maximum of zero.  
  | 
|   | 
|   | WcharSeq (System::Int32 max) | 
|   | Constructs an empty sequence of wide characters with the given initial maximum.  
  | 
|   | 
|   | WcharSeq (WcharSeq^ chars) | 
|   | Constructs a new sequence containing the given wide characters.  
  | 
|   | 
| System::Boolean  | ensure_length (System::Int32 length, System::Int32 max) | 
|   | Set the sequence to the desired length, and resize the sequence if necessary.  
  | 
|   | 
| virtual System::Char  | get_at (System::Int32 i) | 
|   | Get the i-th element for a const sequence.  
  | 
|   | 
| virtual void  | set_at (System::Int32 i, System::Charval) | 
|   | Set the i-th element of the sequence.  
  | 
|   | 
| void  | loan (array< System::Char >^buffer, System::Int32 new_length) | 
|   | Loan a contiguous buffer to this sequence.  
  | 
|   | 
| virtual void  | unloan () | 
|   | Return the loaned buffer in the sequence and set the maximum to 0.  
  | 
|   | 
| void  | from_array (array< System::Char >^arr) | 
|   | Copy elements from an array of elements, resizing the sequence if necessary. The original contents of the sequence (if any) are replaced.  
  | 
|   | 
| void  | to_array (array< System::Char >^arr) | 
|   | Copy elements to an array of elements. The original contents of the array (if any) are replaced.  
  | 
|   | 
| System::Boolean  | copy_from (Sequence< System::Char >^src_seq) | 
|   | Copy elements from another sequence, resizing the sequence if necessary.  
  | 
|   | 
| virtual System::Boolean  | copy_from_no_alloc (Sequence< System::Char >^src_seq) | 
|   | Copy elements from another sequence, only if the destination sequence has enough capacity.  
  | 
|   | 
Additional Inherited Members | 
| System::Int32  | length [get, set] | 
|   | The logical length of this sequence.  
  | 
|   | 
| virtual System::Int32  | maximum [get, set] | 
|   | The current maximum number of elements that can be stored in this sequence.  
  | 
|   | 
| array< System::Char >^  | buffer [get] | 
|   | Return the contiguous buffer of the sequence.  
  | 
|   | 
| System::Boolean  | has_ownership [get] | 
|   | Return the value of the owned flag.  
  | 
|   | 
Detailed Description
Instantiates DDS::Sequence < System::Char > 
- Instantiates:
 - <<generic>> DDS::Sequence 
 
- See Also
 - System::Char 
 
- 
DDS::Sequence 
 
Constructor & Destructor Documentation
  
  
      
        
          | DDS::WcharSeq::WcharSeq  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Constructs an empty sequence of wide characters with an initial maximum of zero. 
 
 
  
  
      
        
          | DDS::WcharSeq::WcharSeq  | 
          ( | 
          System::Int32  | 
          max | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Constructs an empty sequence of wide characters with the given initial maximum. 
 
 
  
  
      
        
          | DDS::WcharSeq::WcharSeq  | 
          ( | 
          WcharSeq^  | 
          chars | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Constructs a new sequence containing the given wide characters. 
- Parameters
 - 
  
    | chars | the initial contents of this sequence  |