Clearmatics Libsnark  0.1
C++ library for zkSNARK proofs
Public Member Functions | List of all members
gadgetlib2::VariableArray Class Reference

VariableArray. More...

#include <variable.hpp>

Inheritance diagram for gadgetlib2::VariableArray:
Inheritance graph
[legend]
Collaboration diagram for gadgetlib2::VariableArray:
Collaboration graph
[legend]

Public Member Functions

 VariableArray (const ::std::string &name="")
 
 VariableArray (const int size, const ::std::string &name="")
 
 VariableArray (const size_t size, const ::std::string &name="")
 
 VariableArray (const size_t size, const Variable &contents)
 
::std::string name () const
 

Detailed Description

VariableArray.

Definition at line 353 of file variable.hpp.

Constructor & Destructor Documentation

◆ VariableArray() [1/4]

gadgetlib2::VariableArray::VariableArray ( const ::std::string &  name = "")
explicit

◆ VariableArray() [2/4]

gadgetlib2::VariableArray::VariableArray ( const int  size,
const ::std::string &  name = "" 
)
explicit

Definition at line 359 of file variable.cpp.

360  : VariableArrayContents(size)
361 {
362  libff::UNUSED(name);
363 }
Here is the call graph for this function:

◆ VariableArray() [3/4]

gadgetlib2::VariableArray::VariableArray ( const size_t  size,
const ::std::string &  name = "" 
)
explicit

Definition at line 364 of file variable.cpp.

365  : VariableArrayContents(size)
366 {
367  libff::UNUSED(name);
368 }
Here is the call graph for this function:

◆ VariableArray() [4/4]

gadgetlib2::VariableArray::VariableArray ( const size_t  size,
const Variable contents 
)
inlineexplicit

Definition at line 363 of file variable.hpp.

364  : VariableArrayContents(size, contents)
365  {
366  }

Member Function Documentation

◆ name()

std::string gadgetlib2::VariableArray::name ( ) const

Definition at line 353 of file variable.cpp.

353 { return ""; }
Here is the caller graph for this function:

The documentation for this class was generated from the following files:
gadgetlib2::VariableArrayContents
::std::vector< Variable > VariableArrayContents
Definition: variable.hpp:350
gadgetlib2::VariableArray::name
::std::string name() const
Definition: variable.cpp:353