Questions tagged as 'classes'

1
answer

Relationship between classes in Python

Imagine that you are developing a system for controlling a Vehicles. With this it is necessary to register the vehicles available in the concessionaire for sale. a) Think about the data you need and create a class to represent vehicles. b)...
asked by 30.09.2018 / 23:56
0
answers

Is Point in Attribute of Model Class possible?

This is an xml schema for requesting a WebMethod: <RetrieveClienteRequest> <model query=""> <keys query="" > <cliente.cnpj type="String"></cliente.cnpj> </keys> <...
asked by 05.10.2018 / 14:15
0
answers

Bringing files, classes and methods from another Python file

I need to bring a class file like the one in class.py: class Despesas(object): def __init__(self): self.Prioridade = Prioridade() self.Situacao = True self.Valor = 0.0 self.Categoria = '' For the View.py...
asked by 18.09.2018 / 04:25
1
answer

Convert dictionary dictionaries into class

I have a dictionary that contains activities name and some characteristics of this activity. I created a class called process and want to iterate in my dictionary creating processes. process_name = ['processo1', 'processo2', 'processo3'] pr...
asked by 12.09.2018 / 21:40
0
answers

Help with object creation

How do I put the descontoINSS method on this page? <?php include_once("Pessoa-class.php"); include_once("PessoaFisica-class.php"); include_once("Funcionario-class.php"); include_once("index.php"); $nome = $_POST['nome']; $sexo = $_PO...
asked by 02.09.2018 / 00:16
0
answers

How to use make call another namespace without using include?

I see developers at all times using the "use" command under the "namespace" command without first using an include. An example is the Medoo library: namespace Medoo; use PDO; use Exception; use PDOException; class Raw { public $map;...
asked by 01.09.2018 / 03:53
2
answers

What is the difference between a class and an object?

I was reading a book on object orientation and these two entities are treated differently. What's the difference between the two?     
asked by 28.11.2015 / 00:49
0
answers

Deleting a record of a vector vector in C ++

Hello, I have a memory allocation problem, I have a class and this class I generate a vector, but because there is a lot of data, I end up saving all of them and eventually I use them only once, I would like to know if it is possible to delete...
asked by 04.08.2018 / 00:15
1
answer

Doubt about eclipse [Workspaces Master]

Hello, I would like to know why my eclipse treats a project like [Workspaces Master] And the why of the class is left with a question mark. (This project was imported).     
asked by 19.07.2018 / 20:35
0
answers

I need to click through the class on a button in the webbrowser of visua basic

So I'm trying to click the button for the class using the visual basic webbrowser with this code here, but it just does not click and I do not understand why .. if you can help me, thank you. Dim PageElement1 As HtmlElementCollection = WebBrow...
asked by 18.07.2018 / 04:59