mirror of
https://github.com/zeek/zeek.git
synced 2025-10-08 09:38:19 +00:00
direct access for ZAM to VectorVal internal vector
This commit is contained in:
parent
43c88749dd
commit
cd8e16e090
1 changed files with 4 additions and 0 deletions
|
@ -1601,6 +1601,10 @@ public:
|
||||||
const String* StringAt(unsigned int index) const
|
const String* StringAt(unsigned int index) const
|
||||||
{ return StringValAt(index)->AsString(); }
|
{ return StringValAt(index)->AsString(); }
|
||||||
|
|
||||||
|
// Only intended for low-level access by compiled code.
|
||||||
|
const auto& RawVec() const { return vector_val; }
|
||||||
|
auto& RawVec() { return vector_val; }
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
/**
|
/**
|
||||||
* Returns the element at a given index or nullptr if it does not exist.
|
* Returns the element at a given index or nullptr if it does not exist.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue