Questions tagged as 'objetos'

2
answers

When should I use a string object and a literal string?

Reading an article I find the following excerpt:    You can call any of the methods of the string object in a   string literal - JavaScript automatically converts the literal string   for a temporary string object, calls the method, then disc...
asked by 23.08.2018 / 02:34
2
answers

Dictionary for objects in Python

I would like to know how I can assign a dictionary to a set of objects. For example, I have a 4x4 vector of 'neuron' objects: [[<__main__.Neuronio object at 0x1035644e0>, <__main__.Neuronio object at 0x103564518>, <__main_...
asked by 01.06.2018 / 23:18
1
answer

C # Calling an object from a string

I would like to know if there is a way to call an object from a string. Here is an example: public class Butao { public string _Name_; public float _Price_; public Butao(string name, float price) { _Name_ = name;...
asked by 06.07.2017 / 11:43
1
answer

Access data from an object js [closed]

I have the following JS object displayed by console.log Icanonlyaccessthepropertystatusoftheobjectitself,butIneedtoaccessthestatuspropertythatisinsidethevalueobjectandhasthevalue400,butalltypesofpropertyadvisorsItrygiveundefinedwhenItrytogobeyo...
asked by 01.08.2018 / 22:17
1
answer

Example of run-time object in C #

Reading an article appeared the following term runtime object or "runtime object". What would that object be? Would it be an instance of a class? Can anyone pass some example? Part of the article:    The OO design process centers on use...
asked by 29.04.2018 / 05:22
1
answer

AJAX request with different domain

My Request url="http://algumip:algumaporta/dowPDFNF?cChave="+chave $.ajax({ url: url, dataType: 'jsonp', success: function (data) { console.log(JSON.stringify(data)); }, type: 'POST' }); error that returns: U...
asked by 10.05.2018 / 16:03
1
answer

Passing objects by reference c ++

Speak, I'm trying to learn a little bit of C ++ and I have a question regarding the passing of objects to a class and manipulating it within it. I can do this in C #, but I'm trying in C ++ without having much success. Example: c # class Fo...
asked by 11.11.2017 / 01:43
1
answer

Traversing an object and its properties

Assuming I have this piece of code: let obj = { lang: { hi: 'Olá, mundo!' }, engine: { functions: { init: function () { return this.lang.hi; } } } }; console.log(obj.engine.functions.init()); How...
asked by 17.09.2017 / 15:41
1
answer

Traversing Object Objects

How to move objects in JS? Type, I have a Json { children":[ {} ] } The question is, that sometimes there are objects inside objects and sometimes not, within that children, I can have other children, and so on.     
asked by 12.05.2017 / 16:02
1
answer

What is Prevayler for?

I am studying Prevayler in college, but I do not know the real utility, nor the use of it, searching the internet I found several discussions but nothing that really explains what it is for. Would it be to store data in memory to persist...
asked by 06.07.2016 / 14:48