Open CASCADE Technology
6.9.1
|
#include <Visual3d_SequenceOfLight.hxx>
Public Member Functions | |
Visual3d_SequenceOfLight () | |
Visual3d_SequenceOfLight (const Visual3d_SequenceOfLight &Other) | |
void | Clear () |
~Visual3d_SequenceOfLight () | |
const Visual3d_SequenceOfLight & | Assign (const Visual3d_SequenceOfLight &Other) |
const Visual3d_SequenceOfLight & | operator= (const Visual3d_SequenceOfLight &Other) |
void | Append (const Handle< Visual3d_Light > &T) |
void | Append (Visual3d_SequenceOfLight &S) |
void | Prepend (const Handle< Visual3d_Light > &T) |
void | Prepend (Visual3d_SequenceOfLight &S) |
void | InsertBefore (const Standard_Integer Index, const Handle< Visual3d_Light > &T) |
void | InsertBefore (const Standard_Integer Index, Visual3d_SequenceOfLight &S) |
void | InsertAfter (const Standard_Integer Index, const Handle< Visual3d_Light > &T) |
void | InsertAfter (const Standard_Integer Index, Visual3d_SequenceOfLight &S) |
const Handle< Visual3d_Light > & | First () const |
const Handle< Visual3d_Light > & | Last () const |
void | Split (const Standard_Integer Index, Visual3d_SequenceOfLight &Sub) |
const Handle< Visual3d_Light > & | Value (const Standard_Integer Index) const |
const Handle< Visual3d_Light > & | operator() (const Standard_Integer Index) const |
void | SetValue (const Standard_Integer Index, const Handle< Visual3d_Light > &I) |
Handle< Visual3d_Light > & | ChangeValue (const Standard_Integer Index) |
Handle< Visual3d_Light > & | operator() (const Standard_Integer Index) |
void | Remove (const Standard_Integer Index) |
void | Remove (const Standard_Integer FromIndex, const Standard_Integer ToIndex) |
Public Member Functions inherited from TCollection_BaseSequence | |
Standard_Boolean | IsEmpty () const |
returns True if the sequence <me> contains no elements. More... | |
Standard_Integer | Length () const |
Returns the number of element(s) in the sequence. Returns zero if the sequence is empty. More... | |
void | Reverse () |
Reverses the order of items on <me>. Example: before me = (A B C) after me = (C B A) More... | |
void | Exchange (const Standard_Integer I, const Standard_Integer J) |
Swaps elements which are located at positions and <J> in <me>. Raises an exception if I or J is out of bound. Example: before me = (A B C), I = 1, J = 3 after me = (C B A) More... | |
Additional Inherited Members | |
Protected Member Functions inherited from TCollection_BaseSequence | |
TCollection_BaseSequence () | |
Creation of an empty sequence. More... | |
void | Clear (const Standard_Address DelNode) |
void | PAppend (const Standard_Address Node) |
void | PAppend (TCollection_BaseSequence &S) |
Concatenates <S> at the end of <me>. <S> is cleared. Example: before me = (A B C) S = (D E F) after me = (A B C D E F) S = () More... | |
void | PPrepend (const Standard_Address Node) |
void | PPrepend (TCollection_BaseSequence &S) |
Concatenates <S> at the beginning of <me>. <S> is cleared. Example: before me = (A B C) S = (D E F) after me = (D E F A B C) S = () More... | |
void | PInsertAfter (const Standard_Integer Index, const Standard_Address Node) |
void | PInsertAfter (const Standard_Integer Index, TCollection_BaseSequence &S) |
Inserts the sequence <S> in <me> after the position <Index>. <S> is cleared. Raises an exception if the index is out of bound. Example: before me = (A B C), Index = 3, S = (D E F) after me = (A B C D E F) S = () More... | |
void | PSplit (const Standard_Integer Index, TCollection_BaseSequence &Sub) |
Keeps in <me> the items 1 to <Index>-1 and puts in the items <Index> to the end. Example: before me = (A B C D) ,Index = 3 after me = (A B) Sub = (C D) More... | |
void | Remove (const Standard_Integer Index, const Standard_Address DelNode) |
void | Remove (const Standard_Integer FromIndex, const Standard_Integer ToIndex, const Standard_Address DelNode) |
Standard_Address | Find (const Standard_Integer Index) const |
Returns the node at position <index>. More... | |
Protected Attributes inherited from TCollection_BaseSequence | |
Standard_Address | FirstItem |
Standard_Address | LastItem |
Standard_Address | CurrentItem |
Standard_Integer | CurrentIndex |
Standard_Integer | Size |
Visual3d_SequenceOfLight::Visual3d_SequenceOfLight | ( | ) |
Visual3d_SequenceOfLight::Visual3d_SequenceOfLight | ( | const Visual3d_SequenceOfLight & | Other | ) |
|
inline |
void Visual3d_SequenceOfLight::Append | ( | const Handle< Visual3d_Light > & | T | ) |
void Visual3d_SequenceOfLight::Append | ( | Visual3d_SequenceOfLight & | S | ) |
const Visual3d_SequenceOfLight& Visual3d_SequenceOfLight::Assign | ( | const Visual3d_SequenceOfLight & | Other | ) |
Handle< Visual3d_Light >& Visual3d_SequenceOfLight::ChangeValue | ( | const Standard_Integer | Index | ) |
void Visual3d_SequenceOfLight::Clear | ( | ) |
const Handle< Visual3d_Light >& Visual3d_SequenceOfLight::First | ( | ) | const |
void Visual3d_SequenceOfLight::InsertAfter | ( | const Standard_Integer | Index, |
const Handle< Visual3d_Light > & | T | ||
) |
void Visual3d_SequenceOfLight::InsertAfter | ( | const Standard_Integer | Index, |
Visual3d_SequenceOfLight & | S | ||
) |
void Visual3d_SequenceOfLight::InsertBefore | ( | const Standard_Integer | Index, |
const Handle< Visual3d_Light > & | T | ||
) |
void Visual3d_SequenceOfLight::InsertBefore | ( | const Standard_Integer | Index, |
Visual3d_SequenceOfLight & | S | ||
) |
const Handle< Visual3d_Light >& Visual3d_SequenceOfLight::Last | ( | ) | const |
|
inline |
|
inline |
|
inline |
void Visual3d_SequenceOfLight::Prepend | ( | const Handle< Visual3d_Light > & | T | ) |
void Visual3d_SequenceOfLight::Prepend | ( | Visual3d_SequenceOfLight & | S | ) |
void Visual3d_SequenceOfLight::Remove | ( | const Standard_Integer | Index | ) |
void Visual3d_SequenceOfLight::Remove | ( | const Standard_Integer | FromIndex, |
const Standard_Integer | ToIndex | ||
) |
void Visual3d_SequenceOfLight::SetValue | ( | const Standard_Integer | Index, |
const Handle< Visual3d_Light > & | I | ||
) |
void Visual3d_SequenceOfLight::Split | ( | const Standard_Integer | Index, |
Visual3d_SequenceOfLight & | Sub | ||
) |
const Handle< Visual3d_Light >& Visual3d_SequenceOfLight::Value | ( | const Standard_Integer | Index | ) | const |