mirror of
https://github.com/zeek/zeek.git
synced 2025-10-07 17:18:20 +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
|
||||
{ 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:
|
||||
/**
|
||||
* 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