Static Value-Flow Analysis
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Friends | List of all members
SVF::SlicedNodeRef< ViewT, RawNodeT > Struct Template Reference

#include <SlicedGraphs.h>

Public Member Functions

 SlicedNodeRef ()=default
 
 SlicedNodeRef (const ViewT *v, const RawNodeT *r)
 
 operator bool () const
 

Public Attributes

const ViewTview = nullptr
 
const RawNodeTraw = nullptr
 

Friends

bool operator== (SlicedNodeRef lhs, SlicedNodeRef rhs)
 
bool operator!= (SlicedNodeRef lhs, SlicedNodeRef rhs)
 

Detailed Description

template<class ViewT, class RawNodeT>
struct SVF::SlicedNodeRef< ViewT, RawNodeT >

Definition at line 406 of file SlicedGraphs.h.

Constructor & Destructor Documentation

◆ SlicedNodeRef() [1/2]

template<class ViewT , class RawNodeT >
SVF::SlicedNodeRef< ViewT, RawNodeT >::SlicedNodeRef ( )
default

◆ SlicedNodeRef() [2/2]

template<class ViewT , class RawNodeT >
SVF::SlicedNodeRef< ViewT, RawNodeT >::SlicedNodeRef ( const ViewT v,
const RawNodeT r 
)
inline

Definition at line 412 of file SlicedGraphs.h.

412: view(v), raw(r) {}
llvm::IRBuilder IRBuilder
Definition BasicTypes.h:76
const RawNodeT * raw
const ViewT * view

Member Function Documentation

◆ operator bool()

template<class ViewT , class RawNodeT >
SVF::SlicedNodeRef< ViewT, RawNodeT >::operator bool ( ) const
inlineexplicit

Definition at line 414 of file SlicedGraphs.h.

415 {
416 return raw != nullptr;
417 }

Friends And Related Symbol Documentation

◆ operator!=

template<class ViewT , class RawNodeT >
bool operator!= ( SlicedNodeRef< ViewT, RawNodeT lhs,
SlicedNodeRef< ViewT, RawNodeT rhs 
)
friend

Definition at line 423 of file SlicedGraphs.h.

424 {
425 return !(lhs == rhs);
426 }

◆ operator==

template<class ViewT , class RawNodeT >
bool operator== ( SlicedNodeRef< ViewT, RawNodeT lhs,
SlicedNodeRef< ViewT, RawNodeT rhs 
)
friend

Definition at line 419 of file SlicedGraphs.h.

420 {
421 return lhs.view == rhs.view && lhs.raw == rhs.raw;
422 }

Member Data Documentation

◆ raw

Definition at line 409 of file SlicedGraphs.h.

◆ view

Definition at line 408 of file SlicedGraphs.h.


The documentation for this struct was generated from the following file: